Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guide for annotations in cedar terraform provider #7

Merged

Conversation

ckluy31
Copy link
Contributor

@ckluy31 ckluy31 commented Aug 27, 2024

Tested that output was correct using terraform plan:

Changes to Outputs:
  + policy_text = <<-EOT
        @advice("Allow admins to read public resources unless owned by Alice")
        permit (
                principal in Group::"admins",
                action == Action::"Read",
                resource
        )
        when {
                resource.is_public
        }
        unless {
                resource.owner == User::"alice"
        };
    EOT

@chrnorm chrnorm merged commit 966d96c into main Aug 27, 2024
7 checks passed
@chrnorm chrnorm deleted the calvin/cf-3545-add-annotation-documentation-for-cedar-provider branch August 27, 2024 11:46
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.

3 participants