elasticsearch-cloud-deploy
elasticsearch-cloud-deploy copied to clipboard
Invalid Configuration for Read-Only Attribute
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
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