Skip to content

Commit 64be76a

Browse files
Google APIscopybara-github
authored andcommitted
feat: Infrastructure manager supports 1.2.3, 1.3.10, 1.4.7, 1.5.7 versions of Terraform when creating a preview of a deployment
feat: Annotations are now supported to help client tools identify deployments during automation PiperOrigin-RevId: 627386467
1 parent 980fda4 commit 64be76a

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

google/cloud/config/v1/config.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,12 @@ message Deployment {
511511
// applies.
512512
QuotaValidation quota_validation = 23
513513
[(google.api.field_behavior) = OPTIONAL];
514+
515+
// Optional. Arbitrary key-value metadata storage e.g. to help client tools
516+
// identify deployments during automation. See
517+
// https://google.aip.dev/148#annotations for details on format and size
518+
// limitations.
519+
map<string, string> annotations = 24 [(google.api.field_behavior) = OPTIONAL];
514520
}
515521

516522
// TerraformBlueprint describes the source of a Terraform root module which
@@ -1577,6 +1583,15 @@ message Preview {
15771583

15781584
// Output only. Location of preview logs in `gs://{bucket}/{object}` format.
15791585
string logs = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
1586+
1587+
// Output only. The current Terraform version set on the preview.
1588+
// It is in the format of "Major.Minor.Patch", for example, "1.3.10".
1589+
string tf_version = 18 [(google.api.field_behavior) = OUTPUT_ONLY];
1590+
1591+
// Optional. The user-specified Terraform version constraint.
1592+
// Example: "=1.3.10".
1593+
optional string tf_version_constraint = 19
1594+
[(google.api.field_behavior) = OPTIONAL];
15801595
}
15811596

15821597
// Ephemeral metadata content describing the state of a preview operation.

0 commit comments

Comments
 (0)