After the commands run successfully, I have my bootstrapbucketname bucket with one folder called artifacts/ inside the artifacts folder, I have the custom-resources-v0.21.1.zip, initiate-chat-lambda-.....zip, src-v0.21.1.zip, streaming-lambda-v0.21.1.zip and a templates folder.
I open the templates folder, download the mater.yaml file, go to cloud formation console using it.
I enter the BootstrapBucket to bootstrapbucketname and the BootstrapPrefix to artifacts
After the stack creation is complete, all the three S3 buckets created by this CF template is empty, which means, the webappbucket , lexwebuicloudfrontedistri, s3serveraccesslogs bucket are empty.
Please give some ideas where am I doing wrong.
What changes of the bot I made:
I just make a small dummy change to change the ./lex-web-ui/src/config/index.js some variables to have my own test, to do a POC, like I changethe textInputPlaceholder to This is the new Change and want to see if I will get my new changes with the master.yaml file I build and deployed.
My guess is this: in the read me, it says Note that "yourbootstrapbucket" (S3 bucket) must allow objects with public-read acl to be added.
But my S3 buckets has an account level Block Public Access settings for this account, so I guess when something try to read from my mybootstrapbucketname S3 bucket, it doesn't have access to read it?
Please advise or provide an example, what's the necessary settings to make S3 bucket allow objects with public-read acl while have account level block public access.
Or is there any steps I am missing, if I want to deploy my own bot, with a tiny change like I mentioned above.
Hi, I have the exact similar issue as https://github.com/aws-samples/aws-lex-web-ui/issues/663
What I did was
env.mk
line 8 toexport BOOTSTRAP_BUCKET_PATH ?=mybootstrapbucketname/artifacts
--acl public-read
option in aws s3 cp commandbootstrapbucketname
bucket with one folder calledartifacts/
inside the artifacts folder, I have thecustom-resources-v0.21.1.zip
,initiate-chat-lambda-.....zip
,src-v0.21.1.zip
,streaming-lambda-v0.21.1.zip
and a templates folder.mater.yaml
file, go to cloud formation console using it.bootstrapbucketname
and the BootstrapPrefix toartifacts
webappbucket
,lexwebuicloudfrontedistri
,s3serveraccesslogs
bucket are empty.Please give some ideas where am I doing wrong.
What changes of the bot I made:
I just make a small dummy change to change the ./lex-web-ui/src/config/index.js some variables to have my own test, to do a POC, like I changethe
textInputPlaceholder
toThis is the new Change
and want to see if I will get my new changes with the master.yaml file I build and deployed.My guess is this: in the read me, it says
Note that "yourbootstrapbucket" (S3 bucket) must allow objects with public-read acl to be added.
But my S3 buckets has an account level
Block Public Access settings for this account
, so I guess when something try to read from mymybootstrapbucketname
S3 bucket, it doesn't have access to read it?Please advise or provide an example, what's the necessary settings to make
S3 bucket allow objects with public-read acl
while have account level block public access.Or is there any steps I am missing, if I want to deploy my own bot, with a tiny change like I mentioned above.
Thanks,