Skip to content

Instantly share code, notes, and snippets.

View samuel-phan's full-sized avatar

Samuel Phan samuel-phan

  • Dataiku
  • Remote, France
  • 15:45 (UTC +01:00)
View GitHub Profile
@samuel-phan
samuel-phan / main.tf
Created January 29, 2024 16:22
tf-plan-bug-peering-connections
variable "aws_region" {
default = "us-east-1"
}
provider "aws" {
region = var.aws_region
}
locals {
# Tags
@samuel-phan
samuel-phan / main.tf
Created January 29, 2024 16:23
tf-plan-bug-peering-connection
variable "aws_region" {
default = "us-east-1"
}
provider "aws" {
region = var.aws_region
}
locals {
# Tags
@samuel-phan
samuel-phan / main.tf
Created January 29, 2024 16:24
Bastion VPC Peering for "tf-plan-bug-peering-connection" and "tf-plan-bug-peering-connections"
variable "aws_region" {
default = "us-east-1"
}
provider "aws" {
region = var.aws_region
}
data "aws_vpc" "my_vpc" {
tags = {
@samuel-phan
samuel-phan / terraform apply (DEBUG)
Created January 29, 2024 16:36
tf-plan-bug-peering-connections (terraform apply (DEBUG))
❯ TF_LOG=DEBUG terraform apply
2024-01-29T17:35:24.489+0100 [INFO] Terraform version: 1.7.1
2024-01-29T17:35:24.490+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.41.0
2024-01-29T17:35:24.490+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.19.1
2024-01-29T17:35:24.490+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-01-29T17:35:24.490+0100 [DEBUG] using github.com/zclconf/go-cty v1.14.1
2024-01-29T17:35:24.490+0100 [INFO] Go runtime version: go1.21.5
2024-01-29T17:35:24.490+0100 [INFO] CLI args: []string{"/Users/sphan02/git/terraform/tfenv/versions/1.7.1/terraform", "apply"}
2024-01-29T17:35:24.491+0100 [DEBUG] Attempting to open CLI config file: /Users/sphan02/.terraformrc
2024-01-29T17:35:24.491+0100 [INFO] Loading CLI configuration from /Users/sphan02/.terraformrc