Skip to content

CICD with WIF for bootstrap stage doesn't work for me #1971

Answered by ludoo
keyshz asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think those are correct. :)

Remove the custom_settings block from the identity provider, put the actual repo name in name including its project.

This is an example of my settings

federated_identity_providers = {
  github-ludomagno = {
    attribute_condition = "attribute.repository_owner==\"ludomagno\""
    issuer              = "github"
  }
  gitlab-ludomagno = {
    attribute_condition = "attribute.namespace_path==\"ludomagno\""
    issuer              = "gitlab"
  }
}
cicd_repositories = {
  bootstrap = {
    identity_provider = "gitlab-ludomagno"
    name              = "ludomagno/bootstrap"
    type              = "gitlab"
  }
  resman = {
    identity_provider = "github-ludo…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@keyshz
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by keyshz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants