-
Notifications
You must be signed in to change notification settings - Fork 0
Feat sink billing account #129
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
base: test-pr-sink
Are you sure you want to change the base?
Changes from 25 commits
6d26c13
690f6e7
57ec9f6
85d6844
bebcbb2
f4f2eb8
14a3a99
ee3554c
5530ed9
4775ef3
df8dc0c
47418a3
06ec1c1
5c34cd5
fa23017
46e44cb
648ed1a
f3c7fbc
db9f4e1
ea4e2c0
b6bf537
07df788
e759cf9
b41b322
459fc90
32fb194
8b17343
1fe50db
a8b11b8
bc5c46d
e1274a6
f57a47c
27807fd
be6b808
a950798
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,18 @@ variable "resource_type" { | |
| } | ||
| } | ||
|
|
||
| variable "billing_account" { | ||
| description = "Billing Account ID used in case sinks are under billing account level. Format 000000-000000-000000." | ||
| type = string | ||
| default = null | ||
| } | ||
|
|
||
| variable "enable_billing_account_sink" { | ||
romanini-ciandt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| description = "If true, a log router sink will be created for the billing account. The billing_account variable cannot be null." | ||
| type = bool | ||
| default = true | ||
|
||
| } | ||
|
|
||
| variable "logging_project_key" { | ||
| description = "(Optional) The key of logging destination project if it is inside resources map. It is mandatory when resource_type = project and logging_target_type = logbucket." | ||
| type = string | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -233,7 +233,7 @@ func TestOrg(t *testing.T) { | |||||
| logsExportTopic := gcloud.Runf(t, "pubsub topics describe %s --project %s", logsExportTopicName, auditLogsProjectID) | ||||||
| assert.Equal(logsExportTopicFullName, logsExportTopic.Get("name").String(), fmt.Sprintf("topic %s should have been created", logsExportTopicName)) | ||||||
|
|
||||||
| // logging sinks | ||||||
| // // logging sinks | ||||||
|
||||||
| // // logging sinks | |
| // logging sinks |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| billingAccount := bootstrap.GetTFSetupStringOutput("billing_account") | |
| billingAccount := org.GetTFSetupStringOutput("billing_account") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this commented line