-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Feature Request: Exclude Some Resources From CDK Bootstrap Execution. #28925
Comments
Do you mean in your cases your team is not allowed to create s3 buckets/objects as well as ECR repositories/images but you still need to use CDK? Please note in that case your CDK app would not be able to upload the bundled assets to S3 or ECR. Is that your use case? |
@pahud Thank you for your reply. Yea something like that. As a company policy ECR is not allowed and S3 bucket is allowed but created by AWS admin team(Not developer). So for example when we want to deploy Lambda function. We are using S3 bucket which Admin team created. Also we can not use ECR because of this is prohibited by company policy(So ECR does not need to deploy in our usecase).
Not necessary but want to use because it is convenient if we can use CDK.
Thank you I see. In our case ECR does not need it as it is not allowed as company policy. So I thought this option will be helpful for some company which is restricted by Security policy. How do you think? |
Thank you for your use case sharing. One option is to allow the admin team to |
Thank you for reply . I see so after deploy both S3 and ECR then remove the ECR manually. Yea I think that will solve this issue. This is not major use case so I think we can close this request. My last concern is how often do we need to execute |
|
Describe the feature
Exclude Some Resources From CDK Bootstrap Execution.By excluding the selection of resources created by CDK Bootstrap, it becomes possible to execute with only the necessary resource permissions required for business operations. Currently, there are resources that cannot be constructed without administrator permissions, such as S3, which limits the ability of developers to execute CDK bootstrap on their side.
Use Case
In some companies, permissions for S3 are not granted, or the use of ECR is prohibited as a company policy. For example, if it were possible to limit the creation of S3 and ECR resources when deploying Lambda, developers could create stacks on their own, improving development efficiency. To deploy lambda application we use the S3 bucket which has been created by admin team. Also ECR is prohibited, So these company does not use ECR when build application of Lambda ..etc.
We want to avoid the limitations and extra work of having to request deployments from a different administrator due to insufficient permissions.
Proposed Solution
Other Information
Appreciate if you post some advice about this feature. I am not familiar with CDK usage. So if these resources are necessary to use CDK even if not using inside deployment resources. Please let me know it.
Acknowledgements
CDK version used
irrelevant
Environment details (OS name and version, etc.)
irrelevant
The text was updated successfully, but these errors were encountered: