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

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

Open
spawar-apex opened this issue Feb 24, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@spawar-apex
Copy link

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

@spawar-apex spawar-apex added the bug Something isn't working label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant