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

Issue#820 - add new CDK example demonstrating AWS CodePipeline based CICD setup #1054

Open
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

jfan9
Copy link
Contributor

@jfan9 jfan9 commented Jun 27, 2024

Fixes #820


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Jacky Fan and others added 30 commits June 19, 2024 22:47
add ECS Fargate Stack Issue#820
…ions

It create a SNS topic, a SQS queue, and a EventBridge rule that trigger asynchronous lambda functions.
The source of event is the Amazon ECS events that are published into the default EventBridge event bus.
We use this event to push messages to the SNS topic and to the SQS queue.
Modified a sample stack for asynchronous lambda function for aws-samples#820
@jfan9
Copy link
Contributor Author

jfan9 commented Jul 10, 2024

Hi @kaiz-io, can you help to review the PR by any chance? thank you

constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);

const pipelineAccountId = process.env.PIPELINE_ACCOUNT_ID || "111111111111"; // replace with your pipeline account id
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe use context, move receiving this to the code in /bin and get rid of the defaults?
that is for all .ENV code here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated as per suggestion on the commit id: #7cf8ea7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants