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

spotinst_elastigroup_aws is failing since v1.212 when using subnet_ids #632

Open
AlexeyMinasyan opened this issue Mar 13, 2025 · 0 comments
Labels
kind/bug Categorizes an issue or PR as related to a bug.

Comments

@AlexeyMinasyan
Copy link

Terraform Version

Terraform v1.5.5
spotinst/spotinst v1.212.0 (self-signed, key ID D356E7D693D0F6BA)

Affected Resource(s)

spotinst_elastigroup_aws

Terraform Configuration Files

Debug Output

Panic Output

Expected Behavior

No changes expected in infrastructure

Actual Behavior

Since the recent update (v1.212.0) plan is constantly trying to remove availability_zones blocks, but these are not defined and not mentioned as required. We are using subnet_ids parameter instead

      - availability_zones {
          - availability_zones_name = "eu-central-1a" -> null
          - subnet_ids              = [
              - "subnet-123456",
            ] -> null
        }
      - availability_zones {
          - availability_zones_name = "eu-central-1c" -> null
          - subnet_ids              = [
              - "subnet-213456",
            ] -> null
        }
      - availability_zones {
          - availability_zones_name = "eu-central-1b" -> null
          - subnet_ids              = [
              - "subnet-432561",
            ] -> null
        }

And apply fails with bad request (400) error.

Steps to Reproduce

Trigger terraform plan on existing infrastructure

Important Factoids

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to help the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
@AlexeyMinasyan AlexeyMinasyan added the kind/bug Categorizes an issue or PR as related to a bug. label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes an issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant