I have a secrets manager secret like:
key: value
example: "1.1.1.1/1", "2.2.2.2/2",
Now in the plaintext in secrets manager the value shows up like:
"\"1.1.1.1/1\", "\"2.2.2.2/2\"",
adding these extra \" before and after the values.
Now, when I call/get this "value" in terraform it also picks up the same as the plaintext value, which is not acceptable in the code Im calling it in.
jsondecode(nonsensitive(data.aws_secretsmanager_secret_version.example.secret_string)).example
Can I somehow get the value as is and not with those extra \" ??