For some reason I can't transfer my Firebase configuration JSON to my EB environment during my CodePipeline run.
This is in my .ebextensions/firebase.conf file
Resources:
AWSEBAutoScalingGroup:
Metadata:
AWS::CloudFormation::Authentication:
S3Auth:
type: "s3"
buckets: ["*bucket-name*"]
roleName:
"Fn::GetOptionSetting":
Namespace: "aws:autoscaling:launchconfiguration"
OptionName: "IamInstanceProfile"
DefaultValue: "aws-elasticbeanstalk-ec2-role"
files:
"/tmp/fbsecuritykey.js":
mode: "000400"
owner: root
group: root
authentication: "S3Auth"
source: https://*bucket-name*.s3.us-west-1.amazonaws.com/fbsecuritykey.js
container_commands:
file_transfer_1:
command: "mv /tmp/fbsecuritykey.js /var/app/current"
I've tried a bunch of stuff. With the container_commands and without and nothing seems to work.
I've italicised the bucket name intentionally btw :) It's correct in my configuration.
The pipeline shows no errors during the run.
Any help is appreciated.Thanks.