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

TF fails with exit code 127 from check_components.sh script #19

Closed
jeansimonbarry opened this issue Jun 8, 2021 · 1 comment
Closed

Comments

@jeansimonbarry
Copy link

Error: Error running command '.terraform/modules/relay-stack.logs.agent_policy.gcloud-destroy/scripts/check_components.sh gcloud beta': exit status 127. Output: 

configuration is

provider "google" {
  version = "~> 3.71.0"
}

module "agent_policy" {
  for_each = var.gce_label_values
  source   = "terraform-google-modules/cloud-operations/google//modules/agent-policy"
  version  = "0.2.1"

  project_id = var.project
  policy_id  = "${each.value}-logging-agent"
  agent_rules = [
    {
      type               = "logging"
      version            = "current-major"
      package_state      = "installed"
      enable_autoupgrade = true
    },
  ]
  group_labels = [
    {
      (var.gce_label_key) = each.value
    }
  ]
  os_types = [
    {
      short_name = "ubuntu"
    },
  ]
}

I guess this is from https://github.com/terraform-google-modules/terraform-google-gcloud/blob/master/scripts/check_components.sh ?

@jeansimonbarry
Copy link
Author

Nvm, is known bug from gcloud module terraform-google-modules/terraform-google-gcloud#94 👋

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