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

removes region param from google_compute_backend_service #10903

Merged
merged 3 commits into from
Jan 18, 2017
Merged

removes region param from google_compute_backend_service #10903

merged 3 commits into from
Jan 18, 2017

Conversation

zachgersh
Copy link
Contributor

  • this param was not being used in this service
  • you need a regional_backend_service if you want to pass this
  • docs also updated

@zachgersh
Copy link
Contributor Author

@stack72 - can I get a review here?This should be a super easy merge.

@stack72
Copy link
Contributor

stack72 commented Jan 17, 2017

Hi @zachgersh

Thanks for the work here - sorry it took so long to get back to you on it. So, the usual way we do this is to deprecate the parameter. IF we don't deprecate it, anyone who has set the param in their terraform config will get an error message. I suggest the following change:

"region": {
	Type:       schema.TypeString,
	Optional:   true,
  ForceNew:   true,
	Deprecated: "This parameter has been removed as it was never used",
},

Then for Terraform 0.9, we can completely remove the parameter

Does this make sense?

Thanks

Paul

@stack72 stack72 added bug provider/google-cloud waiting-response An issue/pull request is waiting for a response from the community labels Jan 17, 2017
@stack72 stack72 self-assigned this Jan 17, 2017
@zachgersh
Copy link
Contributor Author

zachgersh commented Jan 17, 2017 via email

- this param was not being used in this service
- you need a regional_backend_service if you want to pass this
@zachgersh
Copy link
Contributor Author

@stack72 this should be good to go now - let me know if there is anything else here.

@stack72
Copy link
Contributor

stack72 commented Jan 18, 2017

LGTM! Thanks @zachgersh :)

@stack72 stack72 merged commit df027d9 into hashicorp:master Jan 18, 2017
catsby added a commit that referenced this pull request Jan 19, 2017
* master: (232 commits)
  Update CHANGELOG.md
  command/plugin_list: Adding Alicloud to the plugin list file (#11292)
  Additionnal information for machine type (#11288)
  provider/alicloud: Creating the necessary structure for the alicloud documentation (#11289)
  Update CHANGELOG.md
  update alicloud provider (#11235)
  Update CHANGELOG.md
  provisioner/chef: Support named run-lists for Policyfiles (#11215)
  Correct data.aws_route_table filter AWS docs link
  Update CHANGELOG.md
  Update CHANGELOG.md
  removes region param from google_compute_backend_service (#10903)
  core: Add pathexpand interpolation function
  Update CHANGELOG.md
  Add instance_tags as an additional filter
  provider/aws: Add aws_instance data source
  Update `parameter_group_name` (#11269)
  provider/profitbricks: Rename the profitbricks bin so that the plugin (#11267)
  Update CHANGELOG.md
  Terraform ProfitBricks Builder (#7943)
  ...
@zachgersh zachgersh deleted the region-param-removal branch February 2, 2017 15:39
@ghost
Copy link

ghost commented Apr 17, 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 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug provider/google-cloud waiting-response An issue/pull request is waiting for a response from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants