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

add billing project id support to firewall endpoint resource #17630

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/10122.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
networksecurity: added required field `billing_project_id` to `google_network_security_firewall_endpoint` resource. Any configuration without `billing_project_id` specified will cause resource creation fail (beta)
```
10 changes: 10 additions & 0 deletions website/docs/r/network_security_firewall_endpoint.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ To get more information about FirewallEndpoint, see:
* [Firewall endpoint overview](https://cloud.google.com/firewall/docs/about-firewall-endpoints)
* [Create and associate firewall endpoints](https://cloud.google.com/firewall/docs/configure-firewall-endpoints)

~> **Warning:** If you are using User ADCs (Application Default Credentials) with this resource,
you must specify a `billing_project` and set `user_project_override` to true
in the provider configuration. Otherwise the ACM API will return a 403 error.
Your account must have the `serviceusage.services.use` permission on the
`billing_project` you defined.

## Example Usage - Network Security Firewall Endpoint Basic


Expand All @@ -56,6 +62,10 @@ resource "google_network_security_firewall_endpoint" "default" {
The following arguments are supported:


* `billing_project_id` -
(Required)
Project to bill on endpoint uptime usage.

* `name` -
(Required)
The name of the firewall endpoint resource.
Expand Down
Loading