forked from totmicro/atlantis-yaml-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a895c5d
commit df822a0
Showing
29 changed files
with
146 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
examples/multi-workspace/multiple-projects/generate-with-include-filter.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
atlantis-yaml-generator -e stdout -w multi-workspace --pattern-detector workspace_vars --included-projects "staging$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
atlantis-yaml-generator -e stdout -w multi-workspace --pattern-detector workspace_vars |
14 changes: 14 additions & 0 deletions
14
examples/multi-workspace/multiple-projects/project_one/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
Empty file.
14 changes: 14 additions & 0 deletions
14
examples/multi-workspace/multiple-projects/project_two/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
atlantis-yaml-generator -e stdout -w multi-workspace --pattern-detector workspace_vars |
14 changes: 14 additions & 0 deletions
14
examples/multi-workspace/single-project/project_one/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
Empty file.
1 change: 1 addition & 0 deletions
1
examples/single-workspace/multiple-projects-environments/generate.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
atlantis-yaml-generator -e stdout -w single-workspace --pattern-detector main.tf |
14 changes: 14 additions & 0 deletions
14
examples/single-workspace/multiple-projects-environments/project_one/production/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
14 changes: 14 additions & 0 deletions
14
examples/single-workspace/multiple-projects-environments/project_one/staging/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
14 changes: 14 additions & 0 deletions
14
examples/single-workspace/multiple-projects-environments/project_two/production/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
14 changes: 14 additions & 0 deletions
14
examples/single-workspace/multiple-projects-environments/project_two/staging/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
atlantis-yaml-generator -e stdout -w single-workspace --pattern-detector main.tf |
14 changes: 14 additions & 0 deletions
14
examples/single-workspace/multiple-projects/project_one/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
14 changes: 14 additions & 0 deletions
14
examples/single-workspace/multiple-projects/project_two/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
atlantis-yaml-generator -e stdout -w single-workspace --pattern-detector main.tf |
14 changes: 14 additions & 0 deletions
14
examples/single-workspace/single-project/project_one/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Define the provider block to specify the cloud provider you're using | ||
provider "aws" { | ||
region = "us-east-1" | ||
} | ||
|
||
# Create a simple AWS S3 bucket | ||
resource "aws_s3_bucket" "example_bucket" { | ||
bucket = "my-terraform-hello-world-bucket" | ||
} | ||
|
||
# Output the bucket name | ||
output "bucket_name" { | ||
value = aws_s3_bucket.example_bucket.id | ||
} |
Empty file.