Skip to content

Instantly share code, notes, and snippets.

@artyomliou
Created September 18, 2021 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artyomliou/019cd6bba5b48b276100d9ce67212c33 to your computer and use it in GitHub Desktop.
Save artyomliou/019cd6bba5b48b276100d9ce67212c33 to your computer and use it in GitHub Desktop.
[wp] Push上Bitbucket並透過CodeDeploy部署到EC2 - service_role
{
"Version": "2012-10-17",
"Id": "Policy1584399307003",
"Statement": [
{
"Sid": "DownloadandUpload",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::111111111111:user/application-bitbucket-pipeline"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::application-codedeploy-deployment/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment