AWS Notes
5.6K subscribers
444 photos
42 videos
10 files
2.8K links
AWS Notes — Amazon Web Services Educational and Information Channel

Chat: https://xn--r1a.website/aws_notes_chat

Contacts: @apple_rom, https://www.linkedin.com/in/roman-siewko/
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
OpenTF теперь в Linux Foundation с именем OpenTofu:

https://www.linuxfoundation.org/press/announcing-opentofu

Переименование произошло во избежание юридических проблем с названием.

https://github.com/opentofu

Команды выглядят как:

tofu init
tofu plan
tofu apply

#OpenTofu
😁37👍11💩9🦄3🔥1
​​⚡️ Oracle switched from Terraform to OpenTofu

https://blogs.oracle.com/ebsandoraclecloud/post/ebs-cloud-manager-24111-now-available

In this release, we have switched from Terraform to OpenTofu due to forthcoming Terraform licensing changes. You must therefore upgrade your Cloud Manager by June 30, 2024 at the latest.
We highly recommend that you uptake this new release of Cloud Manager at your earliest convenience.

P.S. Лёд тронулся, господа присяжные заседатели!

#Terraform #OpenTofu
👍13😱4🤮2
OpenTofu 1.8 с переменными в бэкенде

variable "aws_region" {
default = "us-east-1"
}

terraform {
backend "s3" {
region = var.aws_region
}
}

provider "aws" {
region = var.aws_region
}


https://opentofu.org/blog/opentofu-1-8-0/

Проблема отсутствия очевидного функционала, убивающая каждого первого изучающего Terraform, оказывается, исправима.

#OpenTofu
👍12🔥93
OpenTofu 1.9: for_each in the provider block

https://opentofu.org/docs/intro/whats-new/#provider-iteration-for_each

variable "regions" {
description = "A list of regions."
type = set(string)
}

provider "aws" {
alias = "by_region"
region = each.value
for_each = var.regions
}

module "deploy" {
source = "./deploy"
providers = {
aws = aws.by_region[each.key]
}
}


#OpenTofu
22