Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy ibm_cd_toolchain_tool_bitbucketgit #5787

Open
KKooli opened this issue Nov 13, 2024 · 0 comments
Open

Cannot deploy ibm_cd_toolchain_tool_bitbucketgit #5787

KKooli opened this issue Nov 13, 2024 · 0 comments

Comments

@KKooli
Copy link

KKooli commented Nov 13, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

Terraform v1.5.7
on linux_amd64

  • provider registry.terraform.io/ibm-cloud/ibm v1.71.1

Affected Resource(s)

ibm_cd_toolchain_tool_bitbucketgit
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/cd_toolchain_tool_bitbucketgit

Terraform Configuration Files

resource "ibm_cd_toolchain" "mgt-cd-toolchain-instance" {
  description       = "${local.basename} toolchain instance. Managed by the bootstrap"
  name              = format("%s-%s", local.basename, "toolchain")
  resource_group_id = data.ibm_resource_group.mgt-rg.id
  tags              = local.resource_tags
}


# Create a Bitbucket repository tool in the toolchain
resource "ibm_cd_toolchain_tool_bitbucketgit" "example_bitbucket_tool" {
  toolchain_id = ibm_cd_toolchain.mgt-cd-toolchain-instance.id
  name         = "ibm_dmzr_landingzone"
  parameters {
    enable_traceability      = true
    toolchain_issues_enabled = false
  }
  initialization {
    repo_name    = "ibm_dmzr_landingzone"
    type         = "new"
    private_repo = true
  }
}

Debug Output

image

Expected Behavior

Creates a new bitbucket on the toolchain instance

Actual Behavior

The instance gets created but the there is a problem with the repository creation

Steps to Reproduce

Terraform init
Terraform apply

  1. terraform apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant