Skip to content

Commit

Permalink
feat: Infrastructure manager supports 1.2.3, 1.3.10, 1.4.7, 1.5.7 ver…
Browse files Browse the repository at this point in the history
…sions 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
  • Loading branch information
Google APIs authored and Copybara-Service committed Apr 23, 2024
1 parent 980fda4 commit 64be76a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions google/cloud/config/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 64be76a

Please sign in to comment.