Skip to content

[Enhancement]: Add etag argument to aws_cloudfrontkeyvaluestore_key #41736

Open
@tadair231

Description

@tadair231

Terraform Core Version

1.5.7

AWS Provider Version

5.90.0

Affected Resource(s)

So aws_cloudfrontkeyvaluestore_key only has 3 parameter in terraform
key
key_value_store_arn
value

The matching command in aws is aws cloudfront-keyvaluestore put-key
It requires 4 parameters
key
value
arn
And if-match which is etag

there’s no way in terraform to provide etag and thus this fails for authentication

Expected Behavior

Should be able to provide etag from aws_cloudfront_key_store to aws_cloudfrontkeyvaluestore_key

Actual Behavior

Fails without etag for authentication

Relevant Error/Panic Output Snippet

Terraform Configuration Files

Na

Steps to Reproduce

Try it doesn’t work without etag

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.needs-triageWaiting for first response or review from a maintainer.service/cloudfrontkeyvaluestoreIssues and PRs that pertain to the cloudfrontkeyvaluestore service.waiting-responseMaintainers are waiting on response from community or contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions