Hello,
I have the following use-case:
I have a self-hosted runner on an EC2. The runner is in docker on that EC2.
In the pipeline I have one step with "runs-on: test" <- the tag from my runner, and all the required stuff (oidc: true etc).
In the OIDC role for the Bitbucket, in trust policy, I have put a condition that will allow sts assume only from a specific CIDR range (the CIDR of my VPC). It seems that each time I run the pipeline I get a access denied error.
My question is this:
If the runner is in docker mode, it will try to leverage the EC2 private IP or it will try to leverage the default docker CIDR (172.17.x.x)?
Welcome to the community.
Bitbucket Cloud Pipelines Linux-Docker runners will use Docker CIDR as we use public Docker images hosted by Docker Hub.
May I know the exact error message you're getting?
Regards,
Mark C
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.