File tree 3 files changed +11
-5
lines changed
modules/gcp_service_attachments
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See updating [ Changelog example here] ( https://keepachangelog.com/en/1.0.0/ )
5
5
6
+ ## 1.0.1
7
+
8
+ ### Changed
9
+
10
+ - Changed the hardcoded service attachment count from 40 to 1.
11
+
6
12
## 1.0.0
7
13
8
14
### Added
9
15
10
- - Initial version of the module which provision Private Service Connect service and endpoints for Active-Active and Pro
11
- subscriptions and related GCP resources.
16
+ - Initial version of the module which provision Private Service Connect service and endpoints for Active-Active and Pro
17
+ subscriptions and related GCP resources.
Original file line number Diff line number Diff line change 3
3
# plan time, we cannot use `service_attachments` from the private service connect endpoint directly
4
4
# as those are only computed after applying the plan. Because of that we need a fixed count
5
5
# here unfortunately.
6
- service_attachment_count = 40
6
+ service_attachment_count = 1
7
7
}
8
8
9
9
data "google_compute_subnetwork" "subnet" {
@@ -50,4 +50,4 @@ resource "google_dns_response_policy_rule" "redis_response_policy_rules" {
50
50
rrdatas = [google_compute_address . redis_ip_addresses [count . index ]. address ]
51
51
}
52
52
}
53
- }
53
+ }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
14
14
"github.com/stretchr/testify/require"
15
15
)
16
16
17
- const expectNumberOfServiceAttachments = 40
17
+ const expectNumberOfServiceAttachments = 1
18
18
19
19
func TestTerraformPrivateServiceConnect (t * testing.T ) {
20
20
gcpProject := os .Getenv ("GCP_PROJECT_ID" )
You can’t perform that action at this time.
0 commit comments