hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.82k stars 9.16k forks source link

`aws_ssm_parameter`: Support `policies` attribute #26462

Open posquit0 opened 2 years ago

posquit0 commented 2 years ago

Community Note

Description

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_ssm_parameter" "foo" {
  name  = "foo"
  type  = "String"
  tier    = "Advanced"
  value = "bar"
  policies = "[{\"Type\":\"Expiration\",\"Version\":\"1.0\",\"Attributes\":{\"Timestamp\":\"2020-06-30T00:00:00.000Z\"}},{\"Type\":\"ExpirationNotification\",\"Version\":\"1.0\",\"Attributes\":{\"Before\":\"5\",\"Unit\":\"Days\"}},{\"Type\":\"NoChangeNotification\",\"Version\":\"1.0\",\"Attributes\":{\"After\":\"60\",\"Unit\":\"Days\"}}]"
}

References

thaiphv commented 1 year ago

Is this something you will support soon? Do you have to wait until the AWS SDK supports it? @justinretzolk @posquit0

justinretzolk commented 1 year ago

Hey @thaiphv 👋 Thank you for checking in on this! Unfortunately I can't provide an ETA on when this will be looked into due to the potential of shifting priorities. We prioritize by count of :+1: reactions and a few other things (more information on our prioritization guide if you're interested).