-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Make one of the source_ parameters Required in ingress google_compute_firewall #2924
Make one of the source_ parameters Required in ingress google_compute_firewall #2924
Comments
So we originally wanted to do this because we had a test running that specified no Using We could do this at apply time, but I'm leery of apply-time validations. My thought on this is that we should accept it for 2.0.0 as a non-ideal default, and when we get the new SDK based on 0.12's capabilities, we can surface warnings. In the meantime, Sentinel users can use a policy to prevent this if they so desire. As such, I'm going to drop it from the 2.0.0 milestone. If someone feels strongly we should do the fail-at-apply validation, feel free to chime in in the comments and we can reevaluate. |
source_ranges
required in google_compute_firewall* Allow domain mapping to succeed if DNS is pending Signed-off-by: Modular Magician <[email protected]> * Updated google_folder.html (#4149) * Updated google_folder.html The page in the first example shows that you should use organization_id with value of 1234567. In the Import example, it's not clear whether organization_id is user, or folder_id is used. API call behind this import command is only accepting folder_id (can be checked when setting TF_LOG to trace and viewing the API call) * Update website/docs/r/google_folder.html.markdown Co-Authored-By: Dana Hoffman <[email protected]> Co-authored-by: Dana Hoffman <[email protected]> * add google_kms_secret_ciphertext resource, deprecate datasource (#5314) Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Dana Hoffman <[email protected]> * Update google_folder import description (#2924) Merged PR #2924. Co-authored-by: Chris Stephens <[email protected]> Co-authored-by: Petar Marinkovic <[email protected]> Co-authored-by: Dana Hoffman <[email protected]>
To expand upon
I believe we could check whether any of the values are unknown, in which case we would accept the plan as if that value were set. |
This needs to be updated in Terraform documentation. Currently doesn't list one of these as required |
Also, we have a bug in this implementation - issues/10494 |
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. |
There isn't a great case to not specify at least one
source_
param, let's try making one of them required for a plan to succeed while using an INGRESS firewall rule.The text was updated successfully, but these errors were encountered: