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

Error Setting up Application Integration with Terraform #20385

Open
welylau opened this issue Nov 19, 2024 · 0 comments · May be fixed by GoogleCloudPlatform/magic-modules#12418
Open

Error Setting up Application Integration with Terraform #20385

welylau opened this issue Nov 19, 2024 · 0 comments · May be fixed by GoogleCloudPlatform/magic-modules#12418

Comments

@welylau
Copy link

welylau commented Nov 19, 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 me too comments, 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.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version & Provider Version(s)

Terraform vX.X.X
on

  • provider registry.terraform.io/hashicorp/google vX.X.X
  • provider registry.terraform.io/hashicorp/google-beta vX.X.X

Affected Resource(s)

google_integrations_client

Terraform Configuration

data "google_project" "test_project" {
}

resource "google_kms_key_ring" "keyring" {
  name     = "my-keyring"
  location = "us-east1"
}

resource "google_kms_crypto_key" "cryptokey" {
  name = "crypto-key-example"
  key_ring = google_kms_key_ring.keyring.id
  rotation_period = "7776000s"
}

resource "google_kms_crypto_key_version" "test_key" {
  crypto_key = google_kms_crypto_key.cryptokey.id
}

resource "google_service_account" "service_account" {
  account_id   = "service-acc"
  display_name = "Service Account"
}

resource "google_integrations_client" "example" {
  location = "us-east1"
  create_sample_integrations = true
  run_as_service_account = google_service_account.service_account.email
  cloud_kms_config {
    kms_location = "us-east1"
    kms_ring = google_kms_key_ring.keyring.id
    key = google_kms_crypto_key.cryptokey.id
    key_version = google_kms_crypto_key_version.test_key.id
    kms_project_id = data.google_project.test_project.project_id
  }
}

Debug Output

No response

Expected Behavior

Application Integration infrastructure created

Actual Behavior

Screenshot 2024-11-19 at 4 40 02 PM

Steps to reproduce

Following: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/integrations_client

  1. vi main.tf, copy the content of https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/integrations_client
  2. terraform init
  3. terraform apply

Important Factoids

No response

References

followed the example here: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/integrations_client

b/379879520

@welylau welylau added the bug label Nov 19, 2024
@github-actions github-actions bot added forward/review In review; remove label to forward service/integrations labels Nov 19, 2024
@melinath melinath removed the forward/review In review; remove label to forward label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants