mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
Use b64_url for ecs name
Previously it could happen that special characters were generated in the name. Now it allows only letters, digits, underscore & hyphen to conform with ecs naming requirements.
This commit is contained in:
parent
8abd1be5bb
commit
0493e5eb3d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ resource "random_id" "tpot" {
|
|||
}
|
||||
|
||||
resource "opentelekomcloud_ecs_instance_v1" "ecs_1" {
|
||||
name = random_id.tpot.b64_std
|
||||
name = random_id.tpot.b64_url
|
||||
image_id = data.opentelekomcloud_images_image_v2.debian.id
|
||||
flavor = var.ecs_flavor
|
||||
vpc_id = opentelekomcloud_vpc_v1.vpc_1.id
|
||||
|
|
Loading…
Reference in a new issue