AL
сорри, покидаю
Size: a a a
AL
АВ
AK
MO
MO
АВ
АВ
АК
DG
i
AZ
MO
EM
resource "vcd_vapp_vm" "bastion" {
vapp_name = vcd_vapp.vms.name
name = "bastion"
catalog_name = var.vcd_org_catalog
template_name = var.template_vm
memory = 1024
cpus = 1
cpu_cores = 1
depends_on = [vcd_network_routed.internalRouted, vcd_vapp.vms]
network {
type = "org"
name = vcd_network_routed.internalRouted.name
ip = "172.30.102.101"
ip_allocation_mode = "MANUAL"
}
guest_properties = {
"guest.hostname" = "bastion"
}
customization {
force = false
change_sid = false
allow_local_admin_password = false
auto_generate_password = false
}
}
resource "vcd_vapp_vm" "bastion" {
vapp_name = vcd_vapp.vms.name
name = "bastion"
catalog_name = var.vcd_org_catalog
template_name = var.template_vm
memory = 1024
cpus = 1
cpu_cores = 1
depends_on = [vcd_network_routed.internalRouted, vcd_vapp.vms]
network {
type = "org"
name = vcd_network_routed.internalRouted.name
ip = "172.30.102.101"
ip_allocation_mode = "MANUAL"
}
guest_properties = {
"guest.hostname" = "bastion"
}
customization {
force = false
change_sid = false
allow_local_admin_password = false
auto_generate_password = false
initscript = << EOF
#!/bin/bash
touch /qwe.txt
EOF
}
}
EM
10:16:45:jidckii-e490:
$ terraform apply -var-file=vars/prod.tfvars -auto-approve
vcd_network_routed.internalRouted: Creating...
vcd_network_routed.internalRouted: Still creating... [10s elapsed]
...
vcd_vapp_vm.prod-pg-1: Still creating... [14m40s elapsed]
vcd_vapp_vm.prod-pg-1: Still creating... [14m50s elapsed]
vcd_vapp_vm.prod-pg-1: Creation complete after 14m56s [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f]
Error: error setting firewall rules: &errors.errorString{s:"error reconfiguring Edge Gateway: API Error: 400: Value 'deny' not found."}
10:32:47:jidckii-e490:
$ terraform apply -var-file=vars/prod.tfvars -auto-approve
vcd_network_routed.internalRouted: Refreshing state... [id=urn:vcloud:network:9b6f3aab-3ccc-450c-9b6f-ba8c8b940c00]
vcd_snat.outbound: Refreshing state... [id=172.30.102.0/24]
vcd_vapp.vms: Refreshing state... [id=urn:vcloud:vapp:4ef4fba6-ad37-4a48-9410-33f659f03aee]
...
vcd_vapp_vm.prod-pg-1: Still modifying... [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f, 5m30s elapsed]
vcd_vapp_vm.prod-pg-1: Modifications complete after 5m32s [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f]
Apply complete! Resources: 3 added, 3 changed, 0 destroyed.
10:42:29:jidckii-e490:
10:48:24:jidckii-e490:
$ terraform apply -var-file=vars/test.tfvars -auto-approve
module.pg-patroni-0.data.openstack_images_image_v2.image_name: Refreshing state...
...
Apply complete! Resources: 12 added, 0 changed, 0 destroyed.
10:49:12:jidckii-e490:
E
E
MD
MD
A1
10:16:45:jidckii-e490:
$ terraform apply -var-file=vars/prod.tfvars -auto-approve
vcd_network_routed.internalRouted: Creating...
vcd_network_routed.internalRouted: Still creating... [10s elapsed]
...
vcd_vapp_vm.prod-pg-1: Still creating... [14m40s elapsed]
vcd_vapp_vm.prod-pg-1: Still creating... [14m50s elapsed]
vcd_vapp_vm.prod-pg-1: Creation complete after 14m56s [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f]
Error: error setting firewall rules: &errors.errorString{s:"error reconfiguring Edge Gateway: API Error: 400: Value 'deny' not found."}
10:32:47:jidckii-e490:
$ terraform apply -var-file=vars/prod.tfvars -auto-approve
vcd_network_routed.internalRouted: Refreshing state... [id=urn:vcloud:network:9b6f3aab-3ccc-450c-9b6f-ba8c8b940c00]
vcd_snat.outbound: Refreshing state... [id=172.30.102.0/24]
vcd_vapp.vms: Refreshing state... [id=urn:vcloud:vapp:4ef4fba6-ad37-4a48-9410-33f659f03aee]
...
vcd_vapp_vm.prod-pg-1: Still modifying... [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f, 5m30s elapsed]
vcd_vapp_vm.prod-pg-1: Modifications complete after 5m32s [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f]
Apply complete! Resources: 3 added, 3 changed, 0 destroyed.
10:42:29:jidckii-e490:
10:48:24:jidckii-e490:
$ terraform apply -var-file=vars/test.tfvars -auto-approve
module.pg-patroni-0.data.openstack_images_image_v2.image_name: Refreshing state...
...
Apply complete! Resources: 12 added, 0 changed, 0 destroyed.
10:49:12:jidckii-e490:
u
10:16:45:jidckii-e490:
$ terraform apply -var-file=vars/prod.tfvars -auto-approve
vcd_network_routed.internalRouted: Creating...
vcd_network_routed.internalRouted: Still creating... [10s elapsed]
...
vcd_vapp_vm.prod-pg-1: Still creating... [14m40s elapsed]
vcd_vapp_vm.prod-pg-1: Still creating... [14m50s elapsed]
vcd_vapp_vm.prod-pg-1: Creation complete after 14m56s [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f]
Error: error setting firewall rules: &errors.errorString{s:"error reconfiguring Edge Gateway: API Error: 400: Value 'deny' not found."}
10:32:47:jidckii-e490:
$ terraform apply -var-file=vars/prod.tfvars -auto-approve
vcd_network_routed.internalRouted: Refreshing state... [id=urn:vcloud:network:9b6f3aab-3ccc-450c-9b6f-ba8c8b940c00]
vcd_snat.outbound: Refreshing state... [id=172.30.102.0/24]
vcd_vapp.vms: Refreshing state... [id=urn:vcloud:vapp:4ef4fba6-ad37-4a48-9410-33f659f03aee]
...
vcd_vapp_vm.prod-pg-1: Still modifying... [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f, 5m30s elapsed]
vcd_vapp_vm.prod-pg-1: Modifications complete after 5m32s [id=urn:vcloud:vm:34941080-1605-488e-bee4-36a86433a44f]
Apply complete! Resources: 3 added, 3 changed, 0 destroyed.
10:42:29:jidckii-e490:
10:48:24:jidckii-e490:
$ terraform apply -var-file=vars/test.tfvars -auto-approve
module.pg-patroni-0.data.openstack_images_image_v2.image_name: Refreshing state...
...
Apply complete! Resources: 12 added, 0 changed, 0 destroyed.
10:49:12:jidckii-e490: