1 Answer
- Newest
- Most votes
- Most comments
0
I think it may be due to the incorrect writing of files:.
I think it is correct to use files only once, as shown below.
files:
# Private key
"/etc/pki/tls/certs/server.key":
mode: "000400"
owner: root
group: root
authentication: "S3Auth"
source: https://elasticbeanstalk-us-east-2-accountid.s3.us-east-2.amazonaws.com/server.key
# crt
"/etc/pki/tls/certs/server.crt":
mode: "000400"
owner: root
group: root
authentication: "S3Auth"
source: https://elasticbeanstalk-us-east-2-accountid.s3.us-east-2.amazonaws.com/server.crt
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html#linux-files
Relevant content
- AWS OFFICIALUpdated 2 years ago

Thanks for spotting this, it works now.