-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add field cloud_logging_config to resource google_dns_managed_zone
- Loading branch information
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
mmv1/templates/terraform/examples/dns_managed_zone_cloud_logging.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# [START dns_managed_zone_cloud_logging] | ||
resource "google_dns_managed_zone" "<%= ctx[:primary_resource_id] %>" { | ||
name = "example-zone" | ||
dns_name = "services.example.com." | ||
description = "Example cloud logging enabled DNS zone" | ||
labels = { | ||
foo = "bar" | ||
} | ||
|
||
cloud_logging_config { | ||
enable_logging = true | ||
} | ||
} | ||
# [END dns_managed_zone_cloud_logging] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters