Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP cfn2py enhanced with cfn2pyclass. Creates tree structure of python classes for manageable json creation #248

Closed
wants to merge 1 commit into from

Conversation

sbraverman
Copy link

WIP - DO NOT MERGE -

Currently: cfn2py prints to console a large python file. This file is difficult to manage/enhance programmatically.

GOAL

Create a more manageable system that can be version controlled with easing future changes in mind

WORK DONE SO FAR

  • cfn2pyclass enhances cfn2py - instead of printing the python code to console, the python code is saved into individual python classes within a regional tree structure (this will be argument input by user).
  • jinja2 templating is used for file creation
  • base object (not included) handles iterating through the created region/aws_instance file structure and creates the json file
  • enhanced the securitygroups (ingress and egress)

WORK STILL TO DO

  • better way to import necessary modules
  • Parameterize necessary user inputs
  • Allow users to change all IP's upon json creation
  • Pep8
  • Fix some bugs....

@sbraverman sbraverman force-pushed the classCreator branch 5 times, most recently from 9afec07 to 89cb696 Compare May 27, 2015 23:25
@sbraverman
Copy link
Author

Closed in preference to:
#267

@sbraverman sbraverman closed this Jun 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant