Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change base terraform version to '~> 1.0' #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#####################################################################
# Block-1: Terraform Settings Block
terraform {
required_version = "~> 0.14"
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
2 changes: 1 addition & 1 deletion 03-Terraform-Settings-Providers-Resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- Understand about [Terraform Settings Block](https://www.terraform.io/docs/language/settings/index.html) and create it
```t
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
2 changes: 1 addition & 1 deletion 13-DNS-to-DB/terraform-manifests/c1-versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
2 changes: 1 addition & 1 deletion 17-AWS-CloudWatch/terraform-manifests/c1-versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform Block
terraform {
required_version = "~> 0.14" # which means any version equal & above 0.14 like 0.15, 0.16 etc and < 1.xx
required_version = "~> 1.0" # which means any version equal & above 1.0 like 1.1, 1.2 etc
required_providers {
aws = {
source = "hashicorp/aws"
Expand Down