Skip to content

Configure ResourcePolicy.dynamodb resource and add example - #1392

Merged
turkenf merged 1 commit into
crossplane-contrib:mainfrom
turkenf:add-dynamodb-rpol
Jul 10, 2024
Merged

Configure ResourcePolicy.dynamodb resource and add example#1392
turkenf merged 1 commit into
crossplane-contrib:mainfrom
turkenf:add-dynamodb-rpol

Conversation

@turkenf

@turkenf turkenf commented Jul 8, 2024

Copy link
Copy Markdown
Collaborator

Description of your changes

This PR configures ResourcePolicy.dynamodb resource and adds an example.

Fixes #1307

Thanks to @ShayYannay for the previous PR and @mbbush for the review.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

A successful uptest run: https://github.com/crossplane-contrib/provider-upjet-aws/actions/runs/9845977260/job/27182735025

Signed-off-by: Fatih Türken <turkenf@gmail.com>
@turkenf

turkenf commented Jul 8, 2024

Copy link
Copy Markdown
Collaborator Author

/test-examples="examples/dynamodb/v1beta1/resourcepolicy.yaml"

@turkenf
turkenf marked this pull request as ready for review July 8, 2024 21:08

@mergenci mergenci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @turkenf. LGTM. I would like to note here that we discussed off-channel how IdentifierFromProvider external-name configuration doesn't seem to work for Terraform Plugin Framework resources, as @mbbush explained. Currently, we have separate custom external-name configurations for each resource. At some point, as the number of plugin framework resources increases, we might want to invent one external-name config to rule them all 🙂

@turkenf
turkenf merged commit df549c3 into crossplane-contrib:main Jul 10, 2024
@turkenf
turkenf deleted the add-dynamodb-rpol branch July 10, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DynamoDB Table Resource Based Policy Support

3 participants