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.77k stars 9.12k forks source link

Update Elemental Mediastore Container Cors Policy #7512

Open spekulatif1 opened 5 years ago

spekulatif1 commented 5 years ago

Community Note

Description

That would be really cool if we can update AWS Elemental Mediastore container cors policy with Terraform.

New or Affected Resource(s)

aws_media_store_container_cors_policy

Potential Terraform Configuration

resource "aws_media_store_container_cors_policy" "cors" {
  container_name = "${aws_media_store_container.example.name}"
  rule =  {
    allowed_headers = ["*"]
    allowed_methods = ["GET"]
    allowed_origins = ["*"]
    expose_headers  = ["ETag"]
    max_age_seconds = 3000
  }                                                                                                                                                                                                                                                                              
}

References

https://docs.aws.amazon.com/mediastore/latest/ug/cors-policy-adding.html

github-actions[bot] commented 3 years ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

jfreeland commented 3 years ago

This is not resolved.

JosueRodriguezDev commented 3 years ago

Any way this can get more info soon?