Skip to content

Terraform Upgrade Path #732

@JJediny

Description

@JJediny

Compatibility Assessment

Version Compatibility Notes
Terraform 0.12.x ❌ Incompatible Uses newer syntax for blocks and expressions
Terraform 0.13.x ✅ Compatible But requires provider version updates
Terraform 0.14.x ✅ Compatible Recommended minimum version
Terraform 0.15.x ✅ Compatible
Terraform 1.0.x ✅ Compatible Current recommended version
Terraform 1.1-1.6 ✅ Compatible Latest stable versions
Terraform 1.7+ 🟨 Likely compatible Monitor release notes for breaking changes
Terraform 2.0 ❓ Unknown Major version will likely require updates

Provider Version Issues

  1. AWS Provider Version ~> 1.0:

    • This is extremely outdated (current is 5.x)
    • Many resources and attributes have changed
    • Immediate recommendation: Update to at least 3.x or 4.x
  2. Missing Explicit Provider Requirements:

    • Some files lack provider version constraints
    • Terraform 0.13+ requires explicit provider source and version constraints

Goal

  1. Test with Terraform 1.0+ series:
    • Move to the latest 1.x version
    • Update AWS provider to at least 4.x
    • Run full test cycle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions