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

Provide filter capabilities #382

Open
rbgigo opened this issue Apr 5, 2022 · 0 comments
Open

Provide filter capabilities #382

rbgigo opened this issue Apr 5, 2022 · 0 comments

Comments

@rbgigo
Copy link

rbgigo commented Apr 5, 2022

Current cf-terraforming version

0.6.0

Description

The generate command should provide some filter capabilities allowing to generate stanzas for only a subset of objects. The filter should accept some regular expressions

Use cases

For large sites with many objects following e.g. a certain naming convention it would be helpful if only for a subset of objects terraform stanzas will be generated

Potential cf-terraforming usage

cf-terraforming generate --zone $CLOUDFLARE_ZONE_ID --resource-type "cloudflare_record" --filter name.^apim.*

References

No response

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

No branches or pull requests

1 participant