-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
google_compute_network has no way to set flow logs on auto_create_subnetworks #6718
Comments
@pmiles01, given that you want to be able to manage the properties of the subnetwork, is there anything stopping you from importing or creating the subnetworks manually? |
Importing isn't really an option as I'm striving for a one touch Terraform install. I could manually create them, except the auto create looked like a great time and complexity saver. |
Got it. There are two things here that work together to make this tricky:
So, what would end up happening is:
So unless the GCP API ends up letting you specify subnetwork attributes on network create, I think adding this to Terraform would add more complexity than it reduces. Closing this out, but thanks for reporting! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Description
With the google_compute_network, if you use the 'auto_create_subnetworks' flag - there doesn't seem to be any way to turn on flow logs or subnet_private_access.
These would both be useful flags to have available.
New or Affected Resource(s)
Potential Terraform Configuration
Two new flags, maybe :
References
The text was updated successfully, but these errors were encountered: