We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AFAIK there is no way to exclude just one resource (individual VM or instance) using the exclude parameter: is this expected ?
exclude
E.g: I tried the following in a rule to prevent public IPs on CloudSQL, but the exclude is not working:
match: target: ["organization/*"] exclude: ["//cloudsql.googleapis.com/projects/<PROJECT>/instances/my-db"]
or
match: target: ["organization/*"] exclude: ["organization/<ORG_ID>/folder/<FOLDER_NUMBER>/project/<PROJECT_NUMBER>/cloudsqlinstance/<INSTANCE_NUMBER>"]
but excluding on the project level works (but might be inadequate for certain contexts):
match: target: ["organization/*"] exclude: ["organization/<ORG_ID>/folder/<FOLDER_NUMBER>/project/<PROJECT_NUMBER>"]
The text was updated successfully, but these errors were encountered:
Correct, projects are the most granular unit you can exclude (similar to the target semantics).
Sorry, something went wrong.
No branches or pull requests
AFAIK there is no way to exclude just one resource (individual VM or instance) using the
exclude
parameter: is this expected ?E.g: I tried the following in a rule to prevent public IPs on CloudSQL, but the exclude is not working:
or
but excluding on the project level works (but might be inadequate for certain contexts):
The text was updated successfully, but these errors were encountered: