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

Fix create_tidb_cluster_release variable does not work #1062

Merged
merged 3 commits into from
Oct 29, 2019
Merged

Conversation

aylei
Copy link
Contributor

@aylei aylei commented Oct 28, 2019

Signed-off-by: Aylei rayingecho@gmail.com

What problem does this PR solve?

close #1057

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Related changes

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

Does this PR introduce a user-facing change?:

Fix that the create_tidb_cluster_release variable in AWS terraform script does not work.

@DanielZhangQD @tennix @cofyc PTAL

Signed-off-by: Aylei <rayingecho@gmail.com>
Copy link
Contributor

@DanielZhangQD DanielZhangQD left a comment

Choose a reason for hiding this comment

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

LGTM except for the format issue.

@@ -22,6 +23,7 @@ data "helm_repository" "pingcap" {
}

resource "helm_release" "tidb-cluster" {
count = var.create ? 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.

The '=' should be aligned with others in the same block.
Same comments for the other updates in this file.

Copy link
Member

Choose a reason for hiding this comment

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

I think we need to add Terraform fmt and validate to CI.

Copy link
Member

Choose a reason for hiding this comment

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

There is already an issue tracking this #823

Copy link
Contributor Author

Choose a reason for hiding this comment

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

if there's a blank line between, then the = don't have to be aligned

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

@sre-bot
Copy link
Contributor

sre-bot commented Oct 29, 2019

cherry pick to release-1.0 in PR #1066

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.

create_tidb_cluster_release variable in aws terraform script does not work
4 participants