ELB creation with multiple subnets in the same AZ cause "Default VPC not found" error #1497
Labels
bug
Addresses a defect in current functionality.
service/elb
Issues and PRs that pertain to the elb service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
This issue was originally opened by @harpermann as hashicorp/terraform#15899. It was migrated here as a result of the provider split. The original body of the issue is below.
Hi Hashicorp,
Terraform is great stuff. We're using it a ton. We found a minor bug were we get a misleading error message.
Terraform Version
** terraform -v = Terraform v0.9.8 **
Terraform Configuration Files
Debug Output
Crash Output
not crashing
Expected Behavior
**On ELB create with multiple subnets in the same AZ, should get error:
Failure adding ELB subnets: InvalidConfigurationRequest: ELB cannot be attached to multiple subnets in the same AZ
**
Actual Behavior
Got misleading "Default VPC not found" error
Steps to Reproduce
Important Factoids
Are there anything atypical about your situation that we should know? For example: is Terraform running in a wrapper script or in a CI system? Are you passing any unusual command line options or environment variables to opt-in to non-default behavior?
References
Looked but couldn't find related issues.
The text was updated successfully, but these errors were encountered: