Skip to content

Commit

Permalink
Fix TF syntax on patterns/kubecost/run-me-in-24h
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobersa committed Jan 26, 2024
1 parent b6838b2 commit d3c1899
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions patterns/kubecost/run-me-in-24h/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
terraform {
required_version = ">= 1.0"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.47"
}
time = {
source = "hashicorp/time"
version = "0.10.0"
}
null = {
source = "hashicorp/null"
version = "3.2.2"
}
}
}

provider "aws" {
region = local.region
}
data "aws_caller_identity" "current" {}
data "aws_availability_zones" "available" {}

data "terraform_remote_state" "main" {
backend = "local"
Expand All @@ -25,7 +42,7 @@ locals {

resource "null_resource" "download_file" {
triggers = {
always_run = "${timestamp()}"
always_run = timestamp()
}

provisioner "local-exec" {
Expand Down

0 comments on commit d3c1899

Please sign in to comment.