Skip to content

Commit

Permalink
feat: update version.tf and remove unuse variable
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Oct 10, 2023
1 parent 8af7e4a commit d9dfef7
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _examples/complete/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ provider "aws" {
####----------------------------------------------------------------------------------
module "acm" {
source = "clouddrove/acm/aws"
version = "1.3.0"
version = "1.4.1"

name = "certificate"
environment = "test"
Expand Down
8 changes: 4 additions & 4 deletions _examples/complete/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
output "api_id" {
value = join("", module.api_gateway.*.api_id)
value = join("", module.api_gateway[*].api_id)
description = "The API identifier."
}

output "api_arn" {
value = join("", module.api_gateway.*.api_arn)
value = join("", module.api_gateway[*].api_arn)
description = "The API arn."
}

output "api_endpoint" {
value = join("", module.api_gateway.*.api_endpoint)
value = join("", module.api_gateway[*].api_endpoint)
description = "The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com."
}

output "invoke_url" {
value = join("", module.api_gateway.*.invoke_url)
value = join("", module.api_gateway[*].invoke_url)
description = "URL to invoke the API pointing to the stage"
}
11 changes: 11 additions & 0 deletions _examples/complete/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Terraform version
terraform {
required_version = ">= 1.5.7"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.20.0"
}
}
}
11 changes: 11 additions & 0 deletions _examples/vpc_link_api/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Terraform version
terraform {
required_version = ">= 1.5.7"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.20.0"
}
}
}

0 comments on commit d9dfef7

Please sign in to comment.