Skip to content

Commit

Permalink
fix wrong tf
Browse files Browse the repository at this point in the history
  • Loading branch information
knightXun committed Sep 9, 2020
1 parent 25322b4 commit 527ee65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/etcd/backupinfra/provider/oss/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ provider "alicloud" {
access_key = var.ACCESS_KEY
secret_key = var.SECRET_KEY
region = var.REGION
version = "=2.60"
version = "=1.95.0"
}

//=====================================================================
Expand All @@ -37,6 +37,6 @@ resource "alicloud_oss_bucket" "bucket" {
//=====================================================================

output "bucketName" {
value = aws_s3_bucket.bucket.id
value = alicloud_oss_bucket.bucket.id
}

2 changes: 1 addition & 1 deletion components/etcd/backupinfra/provider/s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ resource "alicloud_oss_bucket" "bucket" {
//=====================================================================

output "bucketName" {
value = alicloud_oss_bucket.bucket.id
value = aws_s3_bucket.bucket.id
}

0 comments on commit 527ee65

Please sign in to comment.