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 delete action for gcp bucket #7121

Open
robertdeheer opened this issue Feb 18, 2022 · 1 comment
Open

Add delete action for gcp bucket #7121

robertdeheer opened this issue Feb 18, 2022 · 1 comment

Comments

@robertdeheer
Copy link

Describe the feature

I'm interested in using cloudcustodian, but have a blocker. I can filter for gcp buckets, but the delete action is not supported. Is that something you would add to your roadmap or should I submit a pull request?

Extra information or context

policies:
  - name: delete-30-day-old-buckets
    description: |
      Delete all buckets greater than 30 days old
    resource: gcp.bucket
    filters:
      - type: value
        key: name
        value: deleteme-0123456
      - type: value
        key: timeCreated
        op: greater-than
        value_type: age
        value: 30
    actions:
      - delete
@ajkerrigan
Copy link
Member

A pull request for that would be welcome! Feel free to raise a flag here, in Gitter, or in a community meeting if you have any questions or hit issues along the way. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants