aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

toolkit: allow customizing bucket encryption in toolkit bucket

Open cybergoof opened this issue 7 years ago • 4 comments

Request that when running cdk deploy, that s3 bucket name and --sse/--sse-kms-key-id be optional parameters. I need the ability to specify how the Cloudformation template is stored in the staging S3.

cybergoof avatar Jan 12 '19 00:01 cybergoof

Renamed to reflect the intent rather mechanism

eladb avatar Jan 13 '19 09:01 eladb

Hi, any news on this topic? We also need this feature badly for our enterprise environment.

Obirah avatar Jul 12 '19 07:07 Obirah

Hi, I can see if I can implement this. @eladb Any special wishes what to do and what not to do?

hoegertn avatar Jul 12 '19 07:07 hoegertn

Any update on this?

I see in the docs:

cdk bootstrap
cdk bootstrap [ENVIRONMENTS..]

Deploys the CDK toolkit stack into an AWS environment

Options:
  --bootstrap-bucket-name, -b,              The name of the CDK toolkit bucket
  --toolkit-bucket-name                                                 [string]
  --bootstrap-kms-key-id                    AWS KMS master key ID used for the
                                            SSE-KMS encryption          [string]
  --tags, -t                                Tags to add for the stack
                                            (KEY=VALUE)    [array] [default: []]
  --execute                                 Whether to execute ChangeSet
                                            (--no-execute will NOT execute the
                                            ChangeSet) [boolean] [default: true]

Looks like we can pass a KMS key to the bootstrap command but then deploy doesn't use it? Not sure if I'm missing something obvious here.

uncledru avatar Mar 31 '20 17:03 uncledru