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

FeatureRequest: New keep-filter option for import --replace #335

Open
kneufeld-pbp opened this issue Oct 24, 2024 · 0 comments
Open

FeatureRequest: New keep-filter option for import --replace #335

kneufeld-pbp opened this issue Oct 24, 2024 · 0 comments

Comments

@kneufeld-pbp
Copy link

Feature Request

It would be nice to have a new option with import —-replace to keep records created by another automated system or IaC tools, such as AWS ACM Validation records. We now have this use case as our domains are primarily managed with zone files but also require certificate automation for CloudFront and AWS API Gateway, done through Terraform or Cloudformation.

Maybe a glob or regex for the pattern with the ability to include multiple patterns.

# Keep all ACM Validation records
# _89c96229cb8b70d2fd8f7eda4ee18050.example.com
cli53 import --replace --keep-filter "^_[a-z0-9]+.* CNAME .*"  --file example.com.zone

I am unsure if this request aligns with the direction of this project. I would not be surprised if others would not consider this a problem, as they would just migrate to an IaC.

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