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

Invalid Configuration for Read-Only Attribute #118

Open
araufdogan opened this issue Aug 10, 2022 · 1 comment
Open

Invalid Configuration for Read-Only Attribute #118

araufdogan opened this issue Aug 10, 2022 · 1 comment

Comments

@araufdogan
Copy link

Hello,

I'm getting Invalid Configuration for Read-Only Attribute error when I try to terraform plan in terraform-aws folder.

│ Error: Invalid Configuration for Read-Only Attribute
│ 
│   with tls_self_signed_cert.ca,
│   on certs.tf line 15, in resource "tls_self_signed_cert" "ca":
│   15:   key_algorithm   = "RSA"
│ 
│ Cannot set value for this attribute as the provider has marked it as read-only. Remove the configuration line setting the
│ value.
│ 
│ Refer to the provider documentation or contact the provider developers for additional information about configurable and
│ read-only attributes that are supported.
╵
╷
│ Error: Invalid Configuration for Read-Only Attribute
│ 
│   with tls_cert_request.node,
│   on certs.tf line 42, in resource "tls_cert_request" "node":
│   42:   key_algorithm   = "RSA"
│ 
│ Cannot set value for this attribute as the provider has marked it as read-only. Remove the configuration line setting the
│ value.
│ 
│ Refer to the provider documentation or contact the provider developers for additional information about configurable and
│ read-only attributes that are supported.```

Terraform v1.0.2
@araufdogan
Copy link
Author

I updated Terraform version and I'm getting same error.

Terraform v1.2.6
on linux_arm64

  • provider registry.terraform.io/hashicorp/aws v4.25.0
  • provider registry.terraform.io/hashicorp/local v2.2.3
  • provider registry.terraform.io/hashicorp/null v3.1.1
  • provider registry.terraform.io/hashicorp/random v3.3.2
  • provider registry.terraform.io/hashicorp/template v2.2.0
  • provider registry.terraform.io/hashicorp/tls v4.0.1

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