Closed StefanKrecher closed 4 years ago
This is a bug. Adding: config_bucket_exists = True after line 118 solved the problem for me
Hey @StefanKrecher ,
Where have you specified the line config_bucket_exists = True
?
Any updates on this? It looks like you can work around this for the most part if you manually create the bucket it wants you to use for deploying the rules, but the failed rdk init appears to mean that bucket isn't created in the init process.
(FWIW, ran into this in a workshop at re:Inforce)
Hi, would it be fair to say that the only way to currently run the init command is to pull the rdk source code, configure config_bucket_exists = True
, build and use?
@darrent if you want to run the init but essentially skip bucket creation you can pull down my PR to skip checking the bucket but still get all the other checks done
Hi, any updates on this issue?
rdk init seems to fail, when delivery_channels['DeliveryChannels'][0]['s3BucketName'] returns the name of a central bucket from another account. The init-process isn't aware that the bucket already exists (maybe it is enough to set "config_bucket_exists = True" at around line 118/119). Anyway: the call "response = my_s3.list_buckets()" will not return the name of the bucket (because the bucket is in another account). The then following create_bucket account will fail, because the bucket-name isn't available
Originally posted by @StefanKrecher in https://github.com/awslabs/aws-config-rdk/issues/46#issuecomment-436213321