kreuzwerker / m1-terraform-provider-helper

CLI to support with downloading and compiling terraform providers for Mac with M1 chip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with google secret manager

valliavadhanula opened this issue · comments

The provider hashicorp/google does not support resource type "google_secret_manager_secret".

Expected Behavior

The terraform should run a resource code # Create a secret for local-admin-password

resource "google_secret_manager_secret" "aws_access_key_id" {
  secret_id = "aws-access-key-id-${var.env}-${var.region_2}"
  replication {
    automatic = true
  }
  depends_on = [google_project_service.secret_manager]
}

Actual Behavior

│ Error: Invalid resource type
│   on main.tf line , in resource "google_secret_manager_secret" "aws_access_key_id":
│  : resource "google_secret_manager_secret" "aws_access_key_id" {
│ The provider hashicorp/google does not support resource type "google_secret_manager_secret".

Steps to Reproduce (including precondition)

{Please write here}

Screenshot on This Problem (if possible)

{Please write here}

Your Environment

  • OS: macOS Monterey version 12.3.1 M1 Pro Chip
  • m1-terraform-provider-helper version: 1.1.8

This is not the correct repo for issues regarding a specific terraform provider. Please post this https://github.com/hashicorp/terraform-provider-google/issues