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

Byovpc gcp #213

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Byovpc gcp #213

wants to merge 11 commits into from

Conversation

gene-redpanda
Copy link
Member

No description provided.

I apologize in advance for what you're going to see in this commit.

So basically the terraform acceptance testing framework for the terraform plugin framework doesn't support the use of terraform modules. Yes, you read that right. In this context "doesn't support" means "will not delete any of the resources created by a module if the test fails". The module in question creates hundreds of resources so this isn't an ideal outcome.

As a result I split the module out to a separate file and imported the arns of the essential created resources. This isn't ideal and isn't how end users should do this. I'm not sure how to square the circle on this one.

# Conflicts:
#	examples/byovpc/aws/main.tf
Also adds an email validator as that seemed sensible.

I moved the aws elements of the cmr generate function into helper functions to improve readability of that enormous switch.

I still need to add in the update support for CMR related stuff.
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.

1 participant