Merge pull request #837 from shaderecker/terraform

Terraform improvements
This commit is contained in:
Marco Ochse 2021-05-19 16:05:01 +02:00 committed by GitHub
commit bd9cb43960
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@ packages:
- git - git
runcmd: runcmd:
- curl -sS --retry 5 https://github.com
- git clone https://github.com/telekom-security/tpotce /root/tpot - git clone https://github.com/telekom-security/tpotce /root/tpot
- /root/tpot/iso/installer/install.sh --type=auto --conf=/root/tpot.conf - /root/tpot/iso/installer/install.sh --type=auto --conf=/root/tpot.conf
- rm /root/tpot.conf - rm /root/tpot.conf

View file

@ -56,7 +56,7 @@ resource "opentelekomcloud_vpc_eip_v1" "eip_1" {
type = "5_bgp" type = "5_bgp"
} }
bandwidth { bandwidth {
name = "bandwidth-${random_id.tpot.b64_std}" name = "bandwidth-${random_id.tpot.b64_url}"
size = var.eip_size size = var.eip_size
share_type = "PER" share_type = "PER"
} }