Skip to content

An argument named "confidential_instance_type" is not expected here. #482

@spawar-apex

Description

@spawar-apex

TL;DR

While using the module to build an instance template, I encountered the following error:

The parameter confidential_instance_type can be provided via the module configuration. However, the module's main.tf file does not support this argument, as indicated by the error below:

│ Error: Unsupported argument
│ 
│   on modules/instance_template/1.0.0/main.tf line 249, in resource "google_compute_instance_template" "tpl":
│  249:     confidential_instance_type  = var.confidential_instance_type
│ 
│ An argument named "confidential_instance_type" is not expected here.

It seems that the confidential_instance_type parameter is not defined or supported in the resource block within the main.tf file of this module. Could someone please investigate this issue? It might involve revisiting the module's code to check whether this argument is intentionally unsupported or omitted by mistake. Your help in resolving this would be greatly appreciated.

Regards,
Swapnil Pawar

Expected behavior

No response

Observed behavior

Looks like Terraform version lower than specified version = ">= 5.36, < 7" doesnt work.

Terraform Configuration

NA

Terraform Version

1.3.5

Terraform Provider Versions

~> 4.4

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions