Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt authored Oct 18, 2021
1 parent 829fdc8 commit 77f3871
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 85 deletions.
168 changes: 87 additions & 81 deletions examples/python/aws/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions examples/python/aws/cdktf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"language": "python",
"app": "pipenv run python main.py",
"terraformProviders": ["aws@~> 2.0"],
"terraformModules": ["terraform-aws-modules/vpc/[email protected]"],
"codeMakerOutput": "imports"
"terraformProviders": [
"aws@~> 2.0"
],
"terraformModules": [
"terraform-aws-modules/vpc/[email protected]"
],
"codeMakerOutput": "imports",
"projectId": "fc17a501-801d-4af5-830c-17e5a76684db"
}
2 changes: 1 addition & 1 deletion examples/python/aws/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, scope: Construct, ns: str):
)
SnsTopic(self, 'Topic', display_name='my-first-sns-topic')
role = IamRole(self, 'Role', name='lambda-role', assume_role_policy='{}')
LambdaFunction(self, 'Lambda', function_name='my-first-lambda-function', role=role.arn)
LambdaFunction(self, 'Lambda', function_name='my-first-lambda-function', role=role.arn, handler='index.handler', runtime='python3.6')


app = App()
Expand Down

0 comments on commit 77f3871

Please sign in to comment.