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

provider/aws: aws_vpc operations fail in v0.6.10 #4874

Closed
gmiroshnykov opened this issue Jan 28, 2016 · 5 comments
Closed

provider/aws: aws_vpc operations fail in v0.6.10 #4874

gmiroshnykov opened this issue Jan 28, 2016 · 5 comments

Comments

@gmiroshnykov
Copy link

Possibly related to #3994, might be due to eu-central-1 region not supporting VPC ClassicLink or something like that.

Configuration:

provider "aws" {
    region = "eu-central-1"
}

resource "aws_vpc" "test" {
    cidr_block = "10.0.0.0/16"
}

Plan:

$ terraform plan
Refreshing Terraform state prior to plan...

[skipped]

+ aws_vpc.test
    cidr_block:                "" => "10.0.0.0/16"
    default_network_acl_id:    "" => "<computed>"
    default_security_group_id: "" => "<computed>"
    dhcp_options_id:           "" => "<computed>"
    enable_classiclink:        "" => "0"
    enable_dns_hostnames:      "" => "<computed>"
    enable_dns_support:        "" => "<computed>"
    main_route_table_id:       "" => "<computed>"


Plan: 1 to add, 0 to change, 0 to destroy.

Apply:

$ terraform apply
aws_vpc.test: Creating...
  cidr_block:                "" => "10.0.0.0/16"
  default_network_acl_id:    "" => "<computed>"
  default_security_group_id: "" => "<computed>"
  dhcp_options_id:           "" => "<computed>"
  enable_classiclink:        "" => "0"
  enable_dns_hostnames:      "" => "<computed>"
  enable_dns_support:        "" => "<computed>"
  main_route_table_id:       "" => "<computed>"
Error applying plan:

1 error(s) occurred:

* aws_vpc.test: UnsupportedOperation: The functionality you requested is not available in this region.
    status code: 400, request id:

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Refresh:

$ terraform refresh
aws_vpc.test: Refreshing state... (ID: vpc-a1bbd9c8)
Error refreshing state: 1 error(s) occurred:

* aws_vpc.test: UnsupportedOperation: The functionality you requested is not available in this region.
    status code: 400, request id:

The configuration above works fine on v0.6.9.

@phinze
Copy link
Contributor

phinze commented Jan 28, 2016

Thanks for the report, @laggyluke. We're investigating this now.

catsby added a commit that referenced this issue Jan 28, 2016
… support it

- use eu-central-1 to a config to check for #4874
- update documentation
@catsby
Copy link
Contributor

catsby commented Jan 28, 2016

#4879 should fix this, we're double checking things, thanks!

@catsby
Copy link
Contributor

catsby commented Jan 28, 2016

We merged #4897, thanks for the report! We're going to close this for now, let us know if you need anything else.

@catsby catsby closed this as completed Jan 28, 2016
@gmiroshnykov
Copy link
Author

Thanks a lot for your work!

joshmyers pushed a commit to joshmyers/terraform that referenced this issue Feb 18, 2016
… support it

- use eu-central-1 to a config to check for hashicorp#4874
- update documentation
bigkraig pushed a commit to bigkraig/terraform that referenced this issue Mar 1, 2016
… support it

- use eu-central-1 to a config to check for hashicorp#4874
- update documentation
@ghost
Copy link

ghost commented Apr 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants