few-telephone-23228
10/30/2024, 3:09 AMsource
argument lacks the auth
property used both in Terraform and CloudFormation to connect the required aws.codebuild.codeconnection resource. This is also the way the AWS console lets you connect to a self-managed GitLab, by using CodeConnection.
None of the workarounds suggested by Pulumi AI works. These include:
• Using a aws.codebuild.SourceCredentials resource, but since it doesn't support either GITLAB nor GITLAB_SELF_MANAGED as server type, Pulumi AI suggest using GITHUB as server type, which means the same source type has to be used in aws.codebuild.Project. Unfortunately, Pulumi then carefully checks for a valid GitHub URL, which of course fails in this case.
• It has also suggested using the missing auth
property to point to a aws.codeconnection.Connection resource
• As well as a made up connection_arn
property to point to a aws.codeconnection.Connection resource
What is fairly straightforward to do in the AWS console, using CloudFormation or Terraform, seems to be impossible to do in Pulumi. Or am I completely missing something? And why does Pulumi AI keep suggesting to use the non-existent auth
or connection_arn
properties? Did they use to exist and were removed?