spacelift-io / terraform-provider-spacelift

Terraform provider to interact with Spacelift
MIT License
74 stars 28 forks source link

feat(vcs-aggregated-checks): exposes VCS checks settings in the available VCS integrations #566

Closed silviutanasa closed 3 weeks ago

silviutanasa commented 4 weeks ago

Description of the change

New: As part of the VCS Aggregated checks epic (https://app.clickup.com/t/8694knv2g), we added support, for the new "vcs_checks" option, to the existing VCS integrations from our terraform provider. This change affects only the exiting supported VCS integrations terraform data and resources. Feature demo: https://www.loom.com/share/4f1fad2530b846aa8d56d6b1d8151990

Improvements: Because the "SPACELIFT_API_KEY_ENDPOINT" config key was using a Github secret, and because we don't consider it to be a sensitive value, for simplicity, we defined it in the infra repo and used it directly.

Caveats: The VCS Aggregated checks is under a Feature flag, so exposing this option in the provider can cause issues to the clients that want to use it, but don't have the Feature flag enabled.

Type of change

Checklists

Development

Code review