-
Notifications
You must be signed in to change notification settings - Fork 131
Random_string Override special Issue #325
Copy link
Copy link
Closed
Labels
Description
Terraform CLI and Provider Versions
Terraform Version : - v0.13.6
Provider version :- 3.75.1
Random Provider version:- v3.4.3
Terraform Configuration
provider "aws" {
version = "~> 3.75.1"
region = var.region
assume_role {
role_arn = var.role_arn
session_name = "Opticloud_Provisioner"
external_id = "Opticloud"
}
}
resource "random_string" "password" {
length = 12
min_lower = 1
min_numeric = 1
min_upper = 1
min_special = 1
special = true
override_special = "!#$%&*()-_=+[]{}<>:?"
}Expected Behavior
It should create a password , with all the properties specified .
Actual Behavior
terraform plan throws an error .
Provider "registry.terraform.io/hashicorp/random" planned an invalid value for
module.aurora-pp-26cmbjo6oyplk.random_string.password.override_special:
planned value cty.NullVal(cty.String) does not match config value
cty.StringVal("!#$%&*()-_=+[]{}<>:?").
Steps to Reproduce
terraform plan
How much impact is this issue causing?
High
Logs
https://gist.github.com/rishabhjain1510/65c279d1d2c0149208e109b66fcce29f
Additional Information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable