Skip to content

Commit 28f3fc1

Browse files
committed
--tags fix
1 parent caa1d6b commit 28f3fc1

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

ccloud/connect-centralized-license/redshift.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ set -e
5757

5858
log "Create AWS Redshift cluster"
5959
# https://docs.aws.amazon.com/redshift/latest/mgmt/getting-started-cli.html
60-
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
60+
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
6161

6262
# Verify AWS Redshift cluster has started within MAX_WAIT seconds
6363
MAX_WAIT=480

ccloud/fm-aws-dynamodb-cdc-source/fully-managed-dynamodb-cdc-source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ aws dynamodb create-table \
3131
--key-schema AttributeName=first_name,KeyType=HASH AttributeName=last_name,KeyType=RANGE \
3232
--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 \
3333
--endpoint-url https://dynamodb.$AWS_REGION.amazonaws.com \
34-
--tags "cflt_managed_by=user,cflt_managed_id=$USER"
34+
--tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
3535

3636
log "Waiting for table to be created"
3737
while true

ccloud/fm-aws-redshift-sink/fully-managed-redshift-sink.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ set -e
5252

5353
log "Create AWS Redshift cluster"
5454
# https://docs.aws.amazon.com/redshift/latest/mgmt/getting-started-cli.html
55-
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password "$PASSWORD" --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
55+
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password "$PASSWORD" --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
5656

5757
function cleanup_cloud_resources {
5858
set +e

connect/connect-aws-redshift-sink/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ just use <playground run> command and search for redshift-sink-with-assuming-i
3333
Create AWS Redshift cluster
3434
3535
```bash
36-
$ aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
36+
$ aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
3737
```
3838
3939
Create a security group

connect/connect-aws-redshift-sink/redshift-sink-with-assuming-iam-role.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ set -e
5757

5858
log "Create AWS Redshift cluster"
5959
# https://docs.aws.amazon.com/redshift/latest/mgmt/getting-started-cli.html
60-
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password "$PASSWORD" --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
60+
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password "$PASSWORD" --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
6161

6262
function cleanup_cloud_resources {
6363
set +e

connect/connect-aws-redshift-sink/redshift-sink.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ set -e
5050

5151
log "Create AWS Redshift cluster"
5252
# https://docs.aws.amazon.com/redshift/latest/mgmt/getting-started-cli.html
53-
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password "$PASSWORD" --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
53+
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password "$PASSWORD" --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
5454

5555
function cleanup_cloud_resources {
5656
set +e

connect/connect-jdbc-aws-redshift-sink/redshift-jdbc-sink.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ set -e
5353

5454
log "Create AWS Redshift cluster"
5555
# https://docs.aws.amazon.com/redshift/latest/mgmt/getting-started-cli.html
56-
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
56+
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
5757

5858
function cleanup_cloud_resources {
5959
set +e

connect/connect-jdbc-aws-redshift-source/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $ just use <playground run> command and search for redshift-jdbc-source.sh in th
1616
Create AWS Redshift cluster
1717
1818
```bash
19-
$ aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
19+
$ aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
2020
```
2121
2222
Create a security group

connect/connect-jdbc-aws-redshift-source/redshift-jdbc-source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ set -e
5353

5454
log "Create AWS Redshift cluster"
5555
# https://docs.aws.amazon.com/redshift/latest/mgmt/getting-started-cli.html
56-
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "cflt_managed_by=user,cflt_managed_id=$USER"
56+
aws redshift create-cluster --cluster-identifier $CLUSTER_NAME --master-username masteruser --master-user-password myPassword1 --node-type dc2.large --cluster-type single-node --publicly-accessible --tags "Key=cflt_managed_by,Value=user,Key=cflt_managed_id,Value=$USER"
5757

5858
# Verify AWS Redshift cluster has started within MAX_WAIT seconds
5959
MAX_WAIT=480

0 commit comments

Comments
 (0)