I am trying to deploy sampleApplication code via AWS CodeDeploy for Bitbucket
I used this tutorial , I followed all the steps. Trust for a role is like this
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::accountId:root" }, "Action": "sts:AssumeRole", "Condition": { "StringEquals": { "sts:ExternalId": "connectionId" } } } ] }
and while I create the deployment group, I got the error "cannot take the role" when I select the ARN * service role role above.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "ec2.amazonaws.com", "codedeploy.amazonaws.com" ] }, "Action": "sts:AssumeRole" } ] }
But when I add over trust relationships, I can create a deployment group, but then the integration on the bitpack does not work and throws an error to add sufficient resolution.
bitbucket-pipelines aws-code-deploy
Parth mahida
source share