-
Notifications
You must be signed in to change notification settings - Fork 7
feat: Add tecton_outputs module to write shared values. #221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another nit: should we rename infrastructure.tf to main.tf to follow the Terraform convention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replied
Merge activity
|
🤖 I have created a release *beep* *boop* --- ## [1.6.0](v1.5.0...v1.6.0) (2025-06-12) ### Features * Add tecton_outputs module to write shared values. ([#221](#221)) ([f4a3a47](f4a3a47)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Create a new module
tecton_outputs
and adding it to all root modules (controplane_rift
,dataplane_rift
,emr
,databricks
,dataplane_rift_with_emr
,controlplane_rift_with_emr
). The bucket policy allows the control-plane account read-only access.When users
terraform apply
the root modules, the outputs are written in a json file (outputs.json
) to one of three locations, depending on thelocation_config
input:<deployment_name>-tecton-outputs
in the dataplane account. A bucket policy granting the Tecton control-plane account read access is applied.outputs.json
file to a key prefix (default:internal/tecton-outputs/
) inside the Tecton offline-store bucket (created by thedeployment
module). No new bucket or policy is created.apply
.Also adding missing output
emr_master_role_arn
foremr
/dataplane_with_emr
modules.Testing
controlplane_rift
module Terraform apply + default customer bucket outputs(No
location_config
specified - using default)controlplane_rift
module Terraform apply + offline-store bucket outputscontrolplane_rift
module Terraform apply + presigned-url bucket outputsCreated a special bucket (
<bucket_for_presign_test>
) in control-plane account and generated a presigned Upload URLApplied