DNXLabs / terraform-aws-client-vpn

This terraform module installs a client VPN.
https://modules.dnx.one
Apache License 2.0
48 stars 54 forks source link

Bug with latest AWS provider #20

Closed hardbyte closed 1 month ago

hardbyte commented 1 year ago

Contact Details (optional)

brian.thorne@ambiata.com

Description. What happened?

terraform apply fails after updating providers to hashicorp/aws v4.35.0

Steps to reproduce

Upgrade the providers:

terraform init -upgrade
terraform plan

Expected behavior

Should work

Actual behavior

╷
│ Error: Invalid Configuration for Read-Only Attribute
│ 
│   with module.vpn.tls_cert_request.server,
│   on .terraform/modules/vpn/acm-certificate-server.tf line 6, in resource "tls_cert_request" "server":
│    6:   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.

Occurrence

Frequently

Relevant log output

No response

Code of Conduct

hardbyte commented 1 year ago

Looks like this is fixed in https://github.com/DNXLabs/terraform-aws-client-vpn/pull/18