Skip to content

Commit

Permalink
tflint
Browse files Browse the repository at this point in the history
  • Loading branch information
drewmullen committed Apr 28, 2022
1 parent 6f398a8 commit cef5ebb
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 34 deletions.
6 changes: 4 additions & 2 deletions examples/basic/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
output "tags" {
value = module.labels.tags
description = "output of tags."
value = module.labels.tags
}

output "id" {
value = module.labels.id
description = "computed id."
value = module.labels.id
}
File renamed without changes.
27 changes: 0 additions & 27 deletions output.tf

This file was deleted.

34 changes: 34 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
output "tags" {
description = "output of tags in awscc provider format."
value = local.tags
}

output "tags_aws" {
description = "output of tags in aws provider format."
value = local.tags_aws
}

output "id" {
description = "output of computed id based on inputs to module."
value = local.ordered_id
}

output "name" {
description = "name of workload."
value = local.vars["name"]
}

output "namespace" {
description = "namespace of workload."
value = local.vars["namespace"]
}

output "account" {
description = "account of workload."
value = local.vars["account"]
}

output "env" {
description = "environment of workload."
value = local.vars["env"]
}
1 change: 1 addition & 0 deletions versions.tf → provider.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
terraform {
required_version = ">= 0.15.0"
required_providers {
awscc = {
source = "hashicorp/awscc"
Expand Down
5 changes: 0 additions & 5 deletions variable.tf → variables.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
variable "region" {
type = string
default = "us-west-1"
}

variable "namespace" {
type = string
description = "namespace, which could be your organization name, e.g. amazon"
Expand Down

0 comments on commit cef5ebb

Please sign in to comment.