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

add provider and module versions for aws #926

Merged
merged 3 commits into from
Sep 18, 2019
Merged

Conversation

DanielZhangQD
Copy link
Contributor

What problem does this PR solve?

Some provider and module versions are missed in terraform scripts for AWS, which may cause new versions with breaking changes will be automatically installed by terraform init in future.
Refer to #895

What is changed and how does it work?

  • add provider and module versions for aws
  • fix some typos

Check List

Tests

  • Manual test (add detailed scripts or steps below)
    Deploy TiDB with terraform on AWS EKS

Code changes

  • Has terraform scripts change
  • Has documents change

Related changes

  • Need to cherry-pick to the release branch
    • cherry-pick-1.0
    • cherry-pick-1.1
  • Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

@DanielZhangQD
Copy link
Contributor Author

/run-e2e-in-kind

Copy link
Member

@tennix tennix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -1,6 +1,7 @@
module "eks" {
source = "terraform-aws-modules/eks/aws"

version = "5.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the version for module terraform-aws-modules/eks/aws.
Each provider and the non-local module is recommended to set the version explicitly:
https://www.terraform.io/docs/configuration/modules.html#module-versions
https://www.terraform.io/docs/configuration/providers.html#version-provider-versions

@DanielZhangQD
Copy link
Contributor Author

/run-e2e-in-kind

@DanielZhangQD
Copy link
Contributor Author

/run-e2e-in-kind

@cofyc cofyc merged commit f987843 into pingcap:master Sep 18, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Sep 18, 2019

cherry pick to release-1.0 in PR #929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants