-
-
Save josjaf/b6b3e82e8806fae6e38f17b45b5201a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aws_cdk import ( | |
aws_iam as aws_iam, | |
aws_s3 as aws_s3, | |
core, | |
) | |
from aIAMRole import IAMRole | |
from Build import Base | |
from Pipeline import Pipeline | |
app = core.App() | |
shared_parameters = {'namespace': 'test-cdk'} | |
props = None | |
roles = IAMRole(app, "test-repokid-roles", shared_params=shared_parameters) | |
shared_outputs = roles.outputs | |
base = Base(app, "test-repokid-base", shared_params=shared_parameters, shared_outputs=shared_outputs) | |
shared_outputs = {**shared_outputs, **base.outputs} | |
print(shared_outputs) | |
pipeline = Pipeline(app, "test-repokid-pipeline", shared_params=shared_parameters, shared_outputs=shared_outputs) | |
pipeline.add_dependency(roles) | |
app.synth() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment