You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New fields: enable_private_environment, enable_private_builds_only (#9689) (#6870)
* add enable_private_environment and enable_private_builds_only configs
* add tests
* correction in config name
* remove unnecessary checks
* case that PrivateEnvironmentConfig is nil
* add edge case tests for composer 3
* make new fields beta only
* add docs
* correct merge mistake
* avoid false negative for enablePrivateEnvironment
* check image version to avoid overriding EnablePrivateEnvironment
* minor fixes
* simplify code
[upstream:8df5516b9f3d17877b0cd046563352c0ded6c2a1]
Signed-off-by: Modular Magician <[email protected]>
Description: `Optional. If true, a private Composer environment will be created.`,
571
+
},
572
+
"enable_private_builds_only": {
573
+
Type: schema.TypeBool,
574
+
Computed: true,
575
+
Optional: true,
576
+
ForceNew: false,
577
+
AtLeastOneOf: composerConfigKeys,
578
+
Description: `Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.`,
579
+
},
562
580
"web_server_network_access_control": {
563
581
Type: schema.TypeList,
564
582
Optional: true,
@@ -1221,6 +1239,33 @@ func resourceComposerEnvironmentUpdate(d *schema.ResourceData, meta interface{})
0 commit comments