aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoogle APIs <noreply@google.com>2024-04-23 07:50:22 -0700
committerCopybara-Service <copybara-worker@google.com>2024-04-23 07:51:14 -0700
commit64be76add7caaf889f8a949aff5f5295dfe973dd (patch)
tree2c1adf77734717fe7514105ee6c98b104f6fa1d8
parent980fda4bd40769be24506eee36eccf8d0c0898a5 (diff)
downloadgoogleapis-64be76add7caaf889f8a949aff5f5295dfe973dd.tar.gz
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
-rw-r--r--google/cloud/config/v1/config.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/google/cloud/config/v1/config.proto b/google/cloud/config/v1/config.proto
index f6e37b54c..3fe9d8119 100644
--- a/google/cloud/config/v1/config.proto
+++ b/google/cloud/config/v1/config.proto
@@ -511,6 +511,12 @@ message Deployment {
// applies.
QuotaValidation quota_validation = 23
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary key-value metadata storage e.g. to help client tools
+ // identify deployments during automation. See
+ // https://google.aip.dev/148#annotations for details on format and size
+ // limitations.
+ map<string, string> annotations = 24 [(google.api.field_behavior) = OPTIONAL];
}
// TerraformBlueprint describes the source of a Terraform root module which
@@ -1577,6 +1583,15 @@ message Preview {
// Output only. Location of preview logs in `gs://{bucket}/{object}` format.
string logs = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The current Terraform version set on the preview.
+ // It is in the format of "Major.Minor.Patch", for example, "1.3.10".
+ string tf_version = 18 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. The user-specified Terraform version constraint.
+ // Example: "=1.3.10".
+ optional string tf_version_constraint = 19
+ [(google.api.field_behavior) = OPTIONAL];
}
// Ephemeral metadata content describing the state of a preview operation.