Update recommended Terraform provider versions
* Sync Terraform provider plugin versions to those actively used internally * Fix terraform fmt
This commit is contained in:
parent
e72f916c8d
commit
283e14f3e0
|
@ -8,7 +8,7 @@ module "workers" {
|
||||||
security_groups = [aws_security_group.worker.id]
|
security_groups = [aws_security_group.worker.id]
|
||||||
worker_count = var.worker_count
|
worker_count = var.worker_count
|
||||||
instance_type = var.worker_type
|
instance_type = var.worker_type
|
||||||
os_stream = var.os_stream
|
os_stream = var.os_stream
|
||||||
disk_size = var.disk_size
|
disk_size = var.disk_size
|
||||||
spot_price = var.worker_price
|
spot_price = var.worker_price
|
||||||
target_groups = var.worker_target_groups
|
target_groups = var.worker_target_groups
|
||||||
|
|
|
@ -49,7 +49,7 @@ Configure the AWS provider to use your access key credentials in a `providers.tf
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "aws" {
|
provider "aws" {
|
||||||
version = "2.59.0"
|
version = "2.63.0"
|
||||||
region = "eu-central-1"
|
region = "eu-central-1"
|
||||||
shared_credentials_file = "/home/user/.config/aws/credentials"
|
shared_credentials_file = "/home/user/.config/aws/credentials"
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ Configure the Azure provider in a `providers.tf` file.
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "azurerm" {
|
provider "azurerm" {
|
||||||
version = "2.7.0"
|
version = "2.11.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "ct" {
|
provider "ct" {
|
||||||
|
|
|
@ -50,7 +50,7 @@ Configure the DigitalOcean provider to use your token in a `providers.tf` file.
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "digitalocean" {
|
provider "digitalocean" {
|
||||||
version = "1.17.0"
|
version = "1.18.0"
|
||||||
token = "${chomp(file("~/.config/digital-ocean/token"))}"
|
token = "${chomp(file("~/.config/digital-ocean/token"))}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ Configure the Google Cloud provider to use your service account key, project-id,
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "google" {
|
provider "google" {
|
||||||
version = "3.19.0"
|
version = "3.22.0"
|
||||||
project = "project-id"
|
project = "project-id"
|
||||||
region = "us-central1"
|
region = "us-central1"
|
||||||
credentials = file("~/.config/google-cloud/terraform.json")
|
credentials = file("~/.config/google-cloud/terraform.json")
|
||||||
|
|
|
@ -49,7 +49,7 @@ Configure the AWS provider to use your access key credentials in a `providers.tf
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "aws" {
|
provider "aws" {
|
||||||
version = "2.59.0"
|
version = "2.63.0"
|
||||||
region = "eu-central-1"
|
region = "eu-central-1"
|
||||||
shared_credentials_file = "/home/user/.config/aws/credentials"
|
shared_credentials_file = "/home/user/.config/aws/credentials"
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ Configure the Azure provider in a `providers.tf` file.
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "azurerm" {
|
provider "azurerm" {
|
||||||
version = "2.7.0"
|
version = "2.11.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "ct" {
|
provider "ct" {
|
||||||
|
|
|
@ -50,7 +50,7 @@ Configure the DigitalOcean provider to use your token in a `providers.tf` file.
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "digitalocean" {
|
provider "digitalocean" {
|
||||||
version = "1.17.0"
|
version = "1.18.0"
|
||||||
token = "${chomp(file("~/.config/digital-ocean/token"))}"
|
token = "${chomp(file("~/.config/digital-ocean/token"))}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ Configure the Google Cloud provider to use your service account key, project-id,
|
||||||
|
|
||||||
```tf
|
```tf
|
||||||
provider "google" {
|
provider "google" {
|
||||||
version = "3.19.0"
|
version = "3.22.0"
|
||||||
project = "project-id"
|
project = "project-id"
|
||||||
region = "us-central1"
|
region = "us-central1"
|
||||||
credentials = file("~/.config/google-cloud/terraform.json")
|
credentials = file("~/.config/google-cloud/terraform.json")
|
||||||
|
|
|
@ -49,14 +49,14 @@ variable "worker_type" {
|
||||||
variable "os_stream" {
|
variable "os_stream" {
|
||||||
type = string
|
type = string
|
||||||
description = "Fedora CoreOS stream for compute instances (e.g. stable, testing, next)"
|
description = "Fedora CoreOS stream for compute instances (e.g. stable, testing, next)"
|
||||||
default = "stable"
|
default = "stable"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Deprecated
|
# Deprecated
|
||||||
variable "os_image" {
|
variable "os_image" {
|
||||||
type = string
|
type = string
|
||||||
description = "Fedora CoreOS image for compute instances (e.g. fedora-coreos)"
|
description = "Fedora CoreOS image for compute instances (e.g. fedora-coreos)"
|
||||||
default = ""
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "disk_size" {
|
variable "disk_size" {
|
||||||
|
|
|
@ -37,14 +37,14 @@ variable "machine_type" {
|
||||||
variable "os_stream" {
|
variable "os_stream" {
|
||||||
type = string
|
type = string
|
||||||
description = "Fedora CoreOS stream for compute instances (e.g. stable, testing, next)"
|
description = "Fedora CoreOS stream for compute instances (e.g. stable, testing, next)"
|
||||||
default = "stable"
|
default = "stable"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Deprecated
|
# Deprecated
|
||||||
variable "os_image" {
|
variable "os_image" {
|
||||||
type = string
|
type = string
|
||||||
description = "Fedora CoreOS image for compute instances (e.g. fedora-coreos)"
|
description = "Fedora CoreOS image for compute instances (e.g. fedora-coreos)"
|
||||||
default = ""
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "disk_size" {
|
variable "disk_size" {
|
||||||
|
|
Loading…
Reference in New Issue