seal-io/walrus

Database instance creation fails due to name exceeding limits

Finenyaco opened this issue · 5 comments

Describe the bug

Steps to reproduce

  1. Add a template with source https://github.com/walrus-catalog-sandbox/terraform-google-redis.
  2. Using the template to create a resource.

Result

  1. Failed to create google redis instance. The name length exceeds 40 characters.
image
  1. The maximum length for the current instance name is 103 characters, which would exceed the instance name length limit for many cloud providers. Please check other templates accordingly.
image

Expected behavior

Environment

  • Walrus version: v0.6.0-rc1

Additional context
Add any other context about the problem here.

Environment

  • Walrus version: main 61fe2d2
  • UI version: dev-3d2debe

Test Result:

  • sandbox/google-redis@v0.1.2: Failed to create
image
  • sandbox/azure-redis@v0.1.2: Failed to create
image
  • sandbox/azure-postgresql@v0.1.3:

Deployment shows success, but PostgreSQL database was not actually created. But an error occurred during the deletion process.

image image image image
  • sandbox/azure-mysql@v0.1.3
image

Environment

  • Walrus version: main 34e8294
  • UI version: dev-b878771

Test Result:

  • sandbox/azure-redis@v0.1.3: pass

  • sandbox/azure-postgresql@v0.1.4: pass

  • sandbox/azure-mysql@v0.1.4: pass

  • sandbox/google-redis@v0.1.3: pass

  • sandbox/google-mysql@v0.1.2: failed

image
  • sandbox/google-postgresql@v0.1.2: failed
image

Environment

  • Walrus version: main 34e8294
  • UI version: dev-b878771

Test Result: pass

image

Environment

  • Walrus version: main 61070fa
  • UI version: dev-f26d810

Test Result:

  • builtin/aws-elasticache-redis@v0.3.1
image
  • builtin/aws-rds-postgresql@v0.3.2
image
  • builtin/aws-rds-mysql@v0.3.1
image
  • builtin/alicloud-kvstore-redis@v0.3.1
image

Environment

  • Walrus version: main c6bba6b
  • UI version: dev-8e2e304

Test Result:

  • aws: pass
  • alicloud: pass
  • azure: pass
  • google: pass