mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 23:12:18 -04:00
Terraform GCP: Always use local account for resource creation (#571)
* Terraform GCP: Always use local account for resource creation * Update CHANGELOG
This commit is contained in:
parent
10839eac8d
commit
ea300b6d00
4 changed files with 6 additions and 11 deletions
|
@ -32,13 +32,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
<!-- For now removed features. -->
|
<!-- For now removed features. -->
|
||||||
- `access-manager` was removed from code base. K8s native way to SSH into nodes documented.
|
- `access-manager` was removed from code base. K8s native way to SSH into nodes documented.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
## [2.2.2] - 2022-11-16
|
## [2.2.2] - 2022-11-17
|
||||||
|
|
||||||
Contains no changes compared to v2.2.1.
|
### Fixed
|
||||||
|
|
||||||
v2.2.2 was released, to fix a release process error encountered in v2.2.1. This lead to a broken QEMU-based Constellation deployment.
|
- `constellation create` on GCP now always uses the local default credentials.
|
||||||
|
- A release process error encountered in v2.2.1. This led to a broken QEMU-based Constellation deployment, where PCR[8] didn't match.
|
||||||
|
|
||||||
## [2.2.1] - 2022-11-16
|
## [2.2.1] - 2022-11-16
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,6 @@ terraform {
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "google" {
|
provider "google" {
|
||||||
credentials = file(var.credentials_file)
|
|
||||||
|
|
||||||
project = var.project
|
project = var.project
|
||||||
region = var.region
|
region = var.region
|
||||||
zone = var.zone
|
zone = var.zone
|
||||||
|
|
|
@ -35,11 +35,6 @@ variable "zone" {
|
||||||
description = "The GCP zone to deploy the cluster in."
|
description = "The GCP zone to deploy the cluster in."
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "credentials_file" {
|
|
||||||
type = string
|
|
||||||
description = "The path to the GCP credentials file."
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "instance_type" {
|
variable "instance_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "The GCP instance type to deploy."
|
description = "The GCP instance type to deploy."
|
||||||
|
|
|
@ -106,7 +106,6 @@ func (v *GCPVariables) String() string {
|
||||||
writeLinef(b, "project = %q", v.Project)
|
writeLinef(b, "project = %q", v.Project)
|
||||||
writeLinef(b, "region = %q", v.Region)
|
writeLinef(b, "region = %q", v.Region)
|
||||||
writeLinef(b, "zone = %q", v.Zone)
|
writeLinef(b, "zone = %q", v.Zone)
|
||||||
writeLinef(b, "credentials_file = %q", v.CredentialsFile)
|
|
||||||
writeLinef(b, "instance_type = %q", v.InstanceType)
|
writeLinef(b, "instance_type = %q", v.InstanceType)
|
||||||
writeLinef(b, "state_disk_type = %q", v.StateDiskType)
|
writeLinef(b, "state_disk_type = %q", v.StateDiskType)
|
||||||
writeLinef(b, "image_id = %q", v.ImageID)
|
writeLinef(b, "image_id = %q", v.ImageID)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue