You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Description
Deployment with GitLab self-managed VCS fails.
The resource name for aws_codestarconnections_connection.gitlabselfmanaged is too long by default.
To Reproduce
Steps to reproduce the behavior:
Deploy AFT with GitLab self-managed parameters for VCS.
Expected behavior
Deployment would succeed.
Related Logs
Error: creating CodeStar Connections Connection (ct-aft-gitlab-selfmanaged-connection): operation error CodeStar connections: CreateConnection, https response error StatusCode: 400, RequestID: xxx, api error ValidationException: 1 validation error detected: Value 'ct-aft-gitlab-selfmanaged-connection' at 'connectionName' failed to satisfy constraint: Member must have length less than or equal to 32
on .terraform/modules/aft/modules/aft-code-repositories/codestar.tf line 44, in resource resource "aws_codestarconnections_connection" "gitlabselfmanaged" {
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Terraform Version & Prov:
OSS
1.8.5
AFT Version:
1.13.2
Terraform Version & Provider Versions
Terraform v1.8.5
Bug Description
Deployment with GitLab self-managed VCS fails.
The resource name for aws_codestarconnections_connection.gitlabselfmanaged is too long by default.
Failed resource
resource "aws_codestarconnections_connection" "gitlabselfmanaged" {
count = local.vcs.is_gitlab_selfmanaged ? 1 : 0
name = "ct-aft-gitlab-selfmanaged-connection"
host_arn = aws_codestarconnections_host.gitlabselfmanaged[0].arn
}
To Reproduce
Steps to reproduce the behavior:
Deploy AFT with GitLab self-managed parameters for VCS.
Expected behavior
Deployment would succeed.
Related Logs
Error: creating CodeStar Connections Connection (ct-aft-gitlab-selfmanaged-connection): operation error CodeStar connections: CreateConnection, https response error StatusCode: 400, RequestID: xxx, api error ValidationException: 1 validation error detected: Value 'ct-aft-gitlab-selfmanaged-connection' at 'connectionName' failed to satisfy constraint: Member must have length less than or equal to 32
on .terraform/modules/aft/modules/aft-code-repositories/codestar.tf line 44, in resource resource "aws_codestarconnections_connection" "gitlabselfmanaged" {
Additional context
N/A
The text was updated successfully, but these errors were encountered: