-
Notifications
You must be signed in to change notification settings - Fork 863
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
feat: add cloudfront-s3-cdk-go pattern #2251
base: main
Are you sure you want to change the base?
feat: add cloudfront-s3-cdk-go pattern #2251
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refer to the requested changes
"gitHub": { | ||
"template": { | ||
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/cloudformation-s3-cdk-go", | ||
"templateURL": "serverless-patterns/cloudformation-s3-cdk-go", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the projectFolder value from the templateFile. Please refer to some of the other Go examples that we have under Serverless patterns.
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/cloudformation-s3-cdk-go",
"templateURL": "serverless-patterns/cloudformation-s3-cdk-go",
"projectFolder": "cloudfront-s3-cdk-go",
"templateFile": "cloudformation-s3-cdk-go.go"
}
```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @pputhran I have removed the projectFolder value and fixed a few cloudformation/cloudfront typos.
But could you point me toward one of the relevant go examples? None of the go cdk examples I see have an example-pattern.json present.
update linkedin profile value update github template values.
fix typo
fix typo
removing projectFolder value
Hi @pputhran I have removed the projectFolder value and fixed a few cloudformation/cloudfront typos. But could you point me toward one of the relevant go examples? None of the go cdk examples I see have an example-pattern.json present. |
Hi @pputhran just pinging back on whether you have a cdk go example json you could share. |
] | ||
}, | ||
"gitHub": { | ||
"template": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The projectFolder is the required field. Also since the cloudfront-s3-cdk-go.go was renamed, its throwing a new error. Can you rename this file to cloudfronts3-cdk-go.go?
Can you please update as below
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/cloudformation-s3-cdk-go",
"templateURL": "serverless-patterns/cloudformation-s3-cdk-go",
"projectFolder": "cloudfront-s3-cdk-go",
"templateFile": "cloudfronts3-cdk-go.go"
}
You are right. I assumed there were a few examples already. My bad. Apologies. I have added my comments and if you can update them, I can then approve it. |
Issue #, if available: #2250
Description of changes: Adding a new pattern for CloudFront to S3 Static Site implemented using the CDK in Go.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.