From a2a3d3c979e0481300f3dada2e998596eb7f6d4b Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 17 Aug 2020 11:05:23 -0700 Subject: [PATCH] Specify possible values for arg only once (#3874) (#2393) Signed-off-by: ialidzhikov Signed-off-by: Modular Magician --- .changelog/3874.txt | 3 +++ google-beta/resource_compute_subnetwork.go | 4 +--- website/docs/r/compute_subnetwork.html.markdown | 2 -- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 .changelog/3874.txt diff --git a/.changelog/3874.txt b/.changelog/3874.txt new file mode 100644 index 0000000000..8ec013c069 --- /dev/null +++ b/.changelog/3874.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google-beta/resource_compute_subnetwork.go b/google-beta/resource_compute_subnetwork.go index 6cc98876c0..7a85bd93ff 100644 --- a/google-beta/resource_compute_subnetwork.go +++ b/google-beta/resource_compute_subnetwork.go @@ -124,9 +124,7 @@ subnetwork is 'INTERNAL_HTTPS_LOAD_BALANCER'`, Description: `Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long -lasting connections. Default is an interval of 5 seconds per connection. -Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, -INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN Default value: "INTERVAL_5_SEC" Possible values: ["INTERVAL_5_SEC", "INTERVAL_30_SEC", "INTERVAL_1_MIN", "INTERVAL_5_MIN", "INTERVAL_10_MIN", "INTERVAL_15_MIN"]`, +lasting connections. Default is an interval of 5 seconds per connection. Default value: "INTERVAL_5_SEC" Possible values: ["INTERVAL_5_SEC", "INTERVAL_30_SEC", "INTERVAL_1_MIN", "INTERVAL_5_MIN", "INTERVAL_10_MIN", "INTERVAL_15_MIN"]`, Default: "INTERVAL_5_SEC", AtLeastOneOf: []string{"log_config.0.aggregation_interval", "log_config.0.flow_sampling", "log_config.0.metadata"}, }, diff --git a/website/docs/r/compute_subnetwork.html.markdown b/website/docs/r/compute_subnetwork.html.markdown index abd864bccf..85fbd7f244 100644 --- a/website/docs/r/compute_subnetwork.html.markdown +++ b/website/docs/r/compute_subnetwork.html.markdown @@ -247,8 +247,6 @@ The `log_config` block supports: Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. - Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, - INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN Default value is `INTERVAL_5_SEC`. Possible values are `INTERVAL_5_SEC`, `INTERVAL_30_SEC`, `INTERVAL_1_MIN`, `INTERVAL_5_MIN`, `INTERVAL_10_MIN`, and `INTERVAL_15_MIN`.