Skip to content

resource google_storage_bucket_iam_policy is not supported on the docs #258

@rk295

Description

@rk295

General information:

  • Operating System: MacOS 12.1
  • Terracognita version / tag: v0.7.4
  • Did you build Terracognita from sources or did you use the Docker image: Homebrew

Describe the bug:
Running something like the command shown below results in the following error:

Error: could not import from google: error while calculating the Config of resource "google_storage_bucket_iam_policy": provider google with resource google_storage_bucket_iam_policy is not supported on the docs

Example command

terracognita google \
  --project $GCP_PROJECT \
  -i google_storage_bucket \
  -i google_storage_bucket_iam_policy \
  --hcl generated.tf \
  --region global \
  --credentials creds.json \
  --tfstate terraform.tfstate

Additional context

I believe this is caused by the go.mod file pointing to a commit in tfdocs from July last year (commit) but this property was not added to tfdocs until September (commit)

I expect updating go.mod will fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions