(construct): consistent naming for construct resources
See original GitHub issuecdk
generates below naming pattern like stackName-constructNameresourceNamepostfix
note no dash between constructName and resourceName
https://cdkworkshop.com/30-python/40-hit-counter/logs1.png
Use Case
Separating constructName and resourceName with dash makes listing of resources more readable and consistent with stackName approach
Proposed Solution
Separate with dash constructName and resourceName
Other
- 👋 I may be able to implement this feature request
- ⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How do you use naming conventions in your projects?
How do you use naming conventions in your projects? (camelCase, snake_case, etc.) Construct Next; Construct 3 Next; General Discussion ...
Read more >Terraform best practices — how to use a consistent naming ...
The first rule is not to include the name of the resource type in the resource name, either partially or completely, but do...
Read more >Define your naming convention - Cloud Adoption Framework
When you construct your naming convention, identify the key pieces of information you want to reflect in a resource name.
Read more >File naming and structure - Research Data Management at ...
File naming best practices: Files should be named consistently; File names should be short but descriptive (<25 characters) (Briney, 2015) ...
Read more >Get a consistent Azure naming convention with Bicep modules
What would be ideal, is to have the different components of the resource name be added as parameters. The template should construct the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ryparker thank you for looking into this. The code came from below repo, subclassing
core.Construct
(notcdk.Stack
)https://github.com/aws-samples/aws-cdk-intro-workshop/blob/master/code/python/main-workshop/cdk-workshop/hitcounter.py#L7
code location https://github.com/aws-samples/aws-cdk-intro-workshop/blob/master/code/python/main-workshop/cdk_workshop/hitcounter.py