-
Notifications
You must be signed in to change notification settings - Fork 8
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
Test User
committed
Apr 1, 2025
1 parent
e346883
commit f85b3a4
Showing
20 changed files
with
850 additions
and
122 deletions.
There are no files selected for viewing
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
13 changes: 13 additions & 0 deletions
13
tests/fixtures/0.12/backup-test/.terraform-upgrade-backup-20250327195934/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,13 @@ | ||
| provider "aws" { | ||
| version = "~> 2.0" | ||
| region = "us-west-2" | ||
| } | ||
|
|
||
| resource "aws_s3_bucket" "simple" { | ||
| bucket = "my-simple-bucket" | ||
| acl = "private" | ||
| } | ||
|
|
||
| output "bucket_id" { | ||
| value = "${aws_s3_bucket.simple.id}" | ||
| } |
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,21 @@ | ||
| terraform { | ||
| required_providers { | ||
| aws = { | ||
| source = "hashicorp/aws" | ||
| } | ||
| } | ||
| } | ||
|
|
||
| provider "aws" { | ||
| version = "~> 2.0" | ||
| region = "us-west-2" | ||
| } | ||
|
|
||
| resource "aws_s3_bucket" "simple" { | ||
| bucket = "my-simple-bucket" | ||
| acl = "private" | ||
| } | ||
|
|
||
| output "bucket_id" { | ||
| value = "${aws_s3_bucket.simple.id}" | ||
| } |
12 changes: 12 additions & 0 deletions
12
tests/fixtures/0.12/backup-test/terraform-upgrade-dryrun-report.md
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,12 @@ | ||
|
|
||
| ## Summary | ||
|
|
||
| - Current Version: 0.12 | ||
| - Upgrade Path: 0.13 → 0.14 → 0.15 → 1.0 | ||
| - Complexity Level: Low | ||
| - Complexity Score: 8.5 | ||
|
|
||
| ### Deprecated Syntax | ||
|
|
||
| - interpolation_only: `"${aws_s3_bucket.simple.id}"` in main.tf | ||
| - quoted_interpolation: `"${aws_s3_bucket.simple.id}"` in main.tf |
29 changes: 29 additions & 0 deletions
29
...es/0.12/backup-test/terraform-upgrade-reports/upgrade-report-20250327-195934.md
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,29 @@ | ||
| # Terraform Upgrade Report | ||
|
|
||
| Report generated on 2025-03-27 19:59:34 | ||
|
|
||
| ## Progress | ||
|
|
||
| | Step | Status | Duration | Details | | ||
| |------|--------|----------|--------| | ||
| | 1: Upgrading to Terraform 0.13 | ❌ Failed | 2s | **Error:** Failed to upgrade to Terraform 0.13 | | ||
|
|
||
| ## Summary | ||
|
|
||
| - **Status:** ❌ Failed | ||
| - **Total Duration:** 2s | ||
| - **Steps Completed:** 1/1 | ||
| - **Successful Steps:** 0 | ||
| - **Failed Steps:** 1 | ||
|
|
||
| ## Details | ||
|
|
||
| - **Started:** 2025-03-27 19:59:34 | ||
| - **Completed:** 2025-03-27 19:59:36 | ||
|
|
||
| ### Failed Steps | ||
|
|
||
| #### Step 1: Upgrading to Terraform 0.13 | ||
|
|
||
| - **Details:** Failed to upgrade to Terraform 0.13 | ||
|
|
7 changes: 7 additions & 0 deletions
7
tests/fixtures/0.12/backup-test/upgrade-logs/upgrade-progress.json
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,7 @@ | ||
| { | ||
| "started_at": "2025-03-27T19:59:24.695824", | ||
| "steps": [], | ||
| "completed": 0, | ||
| "total": 0, | ||
| "status": "in_progress" | ||
| } |
12 changes: 12 additions & 0 deletions
12
tests/fixtures/0.12/simple/terraform-upgrade-dryrun-report.md
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,12 @@ | ||
|
|
||
| ## Summary | ||
|
|
||
| - Current Version: 0.12 | ||
| - Upgrade Path: 0.13 → 0.14 → 0.15 → 1.0 | ||
| - Complexity Level: Low | ||
| - Complexity Score: 8.5 | ||
|
|
||
| ### Deprecated Syntax | ||
|
|
||
| - interpolation_only: `"${aws_s3_bucket.simple.id}"` in main.tf | ||
| - quoted_interpolation: `"${aws_s3_bucket.simple.id}"` in main.tf |
7 changes: 7 additions & 0 deletions
7
tests/fixtures/0.12/simple/upgrade-logs/upgrade-progress.json
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,7 @@ | ||
| { | ||
| "started_at": "2025-03-27T19:59:24.695824", | ||
| "steps": [], | ||
| "completed": 0, | ||
| "total": 0, | ||
| "status": "in_progress" | ||
| } |
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
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
Oops, something went wrong.