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

data/data/aws/vpc: Drop 'current' from aws_region #686

Merged

Conversation

wking
Copy link
Member

@wking wking commented Nov 15, 2018

It's the default. The old parameter was deprecated before hashicorp/terraform-provider-aws@1cc81c92 (v1.9.0), and we're pinning 1.39.0 since ac5aeed (#594). Changing this avoids:

$ openshift-install --log-level=debug create cluster
...
- Downloading plugin for provider "aws" (1.39.0)...
...
Warning: module.vpc.data.aws_region.current: "current": [DEPRECATED] Defaults to current provider region if no other filtering is enabled
...

It's the default.  The old parameter was deprecated before
hashicorp/terraform-provider-aws@1cc81c92
(docs/data-source/aws_region: Remove now deprecated current argument,
2018-02-09, v1.9.0), and we're pinning 1.39.0 since ac5aeed
(data/aws: bump aws provider, 2018-11-01, openshift#594).  Changing this
avoids:

  $ openshift-install --log-level=debug create cluster
  ...
  - Downloading plugin for provider "aws" (1.39.0)...
  ...
  Warning: module.vpc.data.aws_region.current: "current": [DEPRECATED] Defaults to current provider region if no other filtering is enabled
  ...
@openshift-ci-robot openshift-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 15, 2018
@abhinavdahiya
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 15, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [abhinavdahiya,wking]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wking
Copy link
Member Author

wking commented Nov 15, 2018

Dunno what the YAML issue is about. The link gives me "Unable to load build details". Kicking it:

/test yaml-lint

@wking
Copy link
Member Author

wking commented Nov 15, 2018

Uh, e2e-aws is marked failed here, but the logs have it happy:

2018/11/15 21:51:08 Pod e2e-aws already succeeded in 27m50s
2018/11/15 21:51:09 Ran for 32m16s

although and the job is "Not Finished" here. Ah well, kick it again:

/retest

@openshift-merge-robot openshift-merge-robot merged commit 954b7f6 into openshift:master Nov 15, 2018
@wking wking deleted the drop-aws-region-current branch November 16, 2018 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants