You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Prevent the following error during tier update from Advanced to Standard:
106
109
// ValidationException: This parameter uses the advanced-parameter tier. You can't downgrade a parameter from the advanced-parameter tier to the standard-parameter tier. If necessary, you can delete the advanced parameter and recreate it as a standard parameter.
107
-
// In the case of Advanced to Intelligent-Tiering, a ValidationException is not thrown
108
-
// but rather no change occurs without resource re-creation
Copy file name to clipboardexpand all lines: website/docs/r/ssm_parameter.html.markdown
+5-1
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,11 @@ The following arguments are supported:
61
61
*`type` - (Required) The type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
62
62
*`value` - (Required) The value of the parameter. This value is always marked as sensitive in the Terraform plan output, regardless of `type`. In Terraform CLI version 0.15 and later, this may require additional configuration handling for certain scenarios. For more information, see the [Terraform v0.15 Upgrade Guide](https://www.terraform.io/upgrade-guides/0-15.html#sensitive-output-values).
63
63
*`description` - (Optional) The description of the parameter.
64
-
*`tier` - (Optional) The tier of the parameter. If not specified, will default to `Standard`. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html).
64
+
*`tier` - (Optional) The parameter tier to assign to the parameter.
65
+
If not specified, will use the default parameter tier for the region.
66
+
Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`.
67
+
Downgrading an `Advanced` tier parameter to `Standard` will recreate the resource.
68
+
For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html).
65
69
*`key_id` - (Optional) The KMS key id or arn for encrypting a SecureString.
66
70
*`overwrite` - (Optional) Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by terraform to avoid overwrite of existing resource and will default to `true` otherwise (terraform lifecycle rules should then be used to manage the update behavior).
67
71
*`allowed_pattern` - (Optional) A regular expression used to validate the parameter value.
0 commit comments