Getting "Federated principals must be valid domain names or SAML metadata ARNs" when running atmos workflow deploy -f baseline
#57
-
|
We are currently deploying CloudTrail and ECR (https://docs.cloudposse.com/layers/accounts/account-baseline/). When I run
I get: I can see that the error is on the The previous commands ran successfully. Also, running |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
In the Later on you will deploy the GitHub OIDC Provider, which will create that value. When youre ready to start allowing GitHub access to AWS, then you can reenable |
Beta Was this translation helpful? Give feedback.
We saw this same issue recently and it comes down again to order of operations. I will spend some time tomorrow updating the documentation to better explain this. In the meanwhile ...
Why this is happen
Both the
gitopsandplannersroles are intended to be assumed by GitHub Actions to run Atmos and Terraform workflows. However, the GitHub OIDC provider has not been provisioned yet. The policy is attempting to include the ARN from the provider, but is given an empty string. Therefore the policy is invalid and Terraform failsWhat do we want
We want to skip anything that requires the GitHub OIDC provider until it's ready. Since we provision roles …