package bosh

const GCPBoshDirectorEphemeralIPOps = `
- type: replace
  path: /networks/name=default/subnets/0/cloud_properties/ephemeral_external_ip?
  value: true
`

const AWSBoshDirectorEphemeralIPOps = `
- type: replace
  path: /resource_pools/name=vms/cloud_properties/auto_assign_public_ip?
  value: true
`

const AWSEncryptDiskOps = `---
- type: replace
  path: /disk_pools/name=disks/cloud_properties?
  value:
    type: gp2
    encrypted: true
    kms_key_arn: ((kms_key_arn))
`

const VSphereJumpboxNetworkOps = `---
- type: remove
  path: /instance_groups/name=jumpbox/networks/name=public
`

const OpenStackJumpboxKeystoneV3Ops = `---
- type: remove
  path: /instance_groups/name=jumpbox/networks/name=public

- type: remove
  path: /networks/name=public

- type: remove
  path: /cloud_provider/properties/openstack/tenant

- type: replace
  path: /cloud_provider/properties/openstack/project?
  value: ((openstack_project))

- type: replace
  path: /cloud_provider/properties/openstack/domain?
  value: ((openstack_domain))

- type: replace
  path: /cloud_provider/properties/openstack/human_readable_vm_names?
  value: true
`

package bosh

const GCPBoshDirectorEphemeralIPOps = `
- type: replace
  path: /networks/name=default/subnets/0/cloud_properties/ephemeral_external_ip?
  value: true
`

const AWSBoshDirectorEphemeralIPOps = `
- type: replace
  path: /resource_pools/name=vms/cloud_properties/auto_assign_public_ip?
  value: true
`

const AWSEncryptDiskOps = `---
- type: replace
  path: /disk_pools/name=disks/cloud_properties?
  value:
    type: gp2
    encrypted: true
    kms_key_arn: ((kms_key_arn))
`

const VSphereJumpboxNetworkOps = `---
- type: remove
  path: /instance_groups/name=jumpbox/networks/name=public
`

const OpenStackJumpboxKeystoneV3Ops = `---
- type: remove
  path: /cloud_provider/properties/openstack/tenant

- type: replace
  path: /cloud_provider/properties/openstack/project?
  value: ((openstack_project))

- type: replace
  path: /cloud_provider/properties/openstack/domain?
  value: ((openstack_domain))

- type: replace
  path: /cloud_provider/properties/openstack/human_readable_vm_names?
  value: true
`

--- 
+++ 
@@ -28,6 +28,12 @@
 
 const OpenStackJumpboxKeystoneV3Ops = `---
 - type: remove
+  path: /instance_groups/name=jumpbox/networks/name=public
+
+- type: remove
+  path: /networks/name=public
+
+- type: remove
   path: /cloud_provider/properties/openstack/tenant
 
 - type: replace
Remove public network from openstack jumpbox deployment.

[#155017559]
