Open claesjonsson opened 2 weeks ago
Hi @claesjonsson thanks for reporting this limitation.
both CloudFormation and Terraform have in their corresponding resource definitions.
Can you point out which Terraform resource has this property available?
This Pulumi provider is based directly on terraform-provider-aws which currently does not seem to advertise the auth
property:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codebuild_project#source
When creating an aws.codebuild.Project, the ProjectSourceArgs used for the
source
argument is missing theauth
property that both CloudFormation and Terraform have in their corresponding resource definitions.As far as I can tell, this makes it impossible to use a self-managed GitLab instance as source, as this requires the use of a aws.codestarconnection.Connection, that would be referenced in the missing
auth
property.Any workaround runs afoul of one or more validation errors; such as the suggested use of an aws.codestarconnection.SourceCredentials with the
server_type
GITHUB, which will throw an error when referenced in the project due to invalid github URL. Similar problems for all other suggested workarounds. Pulumi AI eventually suggests defining a CloudFormation and create an aws.cloudformation.Stack, which does not feel ideal.A simple example highlighting the missing property could be: