Skip to content

Commit 4d0829d

Browse files
committed
Add copyright headers to Dockerfiles, YAML files, and shell scripts
1 parent ce9d266 commit 4d0829d

40 files changed

Lines changed: 129 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
# To get started with Dependabot version updates, you'll need to specify which
25
# package ecosystems to update and where the package manifests are located.
36
# Please see the documentation for all configuration options:

.github/workflows/influx-migration-tests-linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
name: Influx migration script tests on Linux
25

36
on:

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
name: build
25

36
on:

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
repos:
25
- repo: https://github.com/awslabs/git-secrets
36
rev: 5357e18bc27b42a827b6780564ea873a72ca1f01

integrations/cloudformation/ec2-private-influxdb/template.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
Transform: AWS::Serverless-2016-10-31
25

36
Metadata:

integrations/cloudformation/scheduled-queries/runme.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2+
3+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
# SPDX-License-Identifier: MIT-0
25
S3BUCKET=$1
36

47
if [ -z "$S3BUCKET" ]
@@ -17,4 +20,4 @@ aws cloudformation create-stack \
1720
--region us-east-1 \
1821
--stack-name scheduled-query-example \
1922
--template-url https://${S3BUCKET}.s3.amazonaws.com/cfn/scheduled_query.yaml #\
20-
# --parameters ParameterKey=Parm1,ParameterValue=test1 ParameterKey=Parm2,ParameterValue=test2
23+
# --parameters ParameterKey=Parm1,ParameterValue=test1 ParameterKey=Parm2,ParameterValue=test2

integrations/cloudformation/scheduled-queries/scheduled_query.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
AWSTemplateFormatVersion: '2010-09-09'
25
Description: Create a Timestream database and a tables and scheduled query
36
Parameters:
@@ -328,4 +331,3 @@ Outputs:
328331
TableName:
329332
Description: Timestream Table Name
330333
Value: !GetAtt MyTable.Name
331-

integrations/cloudformation/timestream-influxdb/timestream_influxdb.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
Metadata:
25
AWS::CloudFormation::Interface:
36
ParameterGroups:
@@ -264,4 +267,4 @@ Outputs:
264267
Endpoint:
265268
Description: The endpoint URL to connect to InfluxDB
266269
Value: !Join ["", ["https://", !GetAtt DbInstance.Endpoint, ":8086"]]
267-
270+

integrations/cloudformation/timestream-influxdb/timestream_influxdb_simple.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14
Metadata:
25
AWS::CloudFormation::Interface:
36
ParameterGroups:
@@ -163,4 +166,4 @@ Outputs:
163166
Endpoint:
164167
Description: The endpoint URL to connect to InfluxDB
165168
Value: !Join ["", ["https://", !GetAtt DbInstance.Endpoint, ":8086"]]
166-
169+
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: MIT-0
3+
14

25
DATE_TIME=$(date -u '+%Y-%m-%d %H:%M:%S.000')
36
DATA=$(echo "{\"dimension_1\": \"dimension1\", \"measure_1\": \"1.0\", \"time\": \"${DATE_TIME}\", \"version\": \"1\" }" | base64)
4-
aws kinesis put-record --stream-name "$1" --data "$DATA" --partition-key "$RANDOM" --region "$2"
7+
aws kinesis put-record --stream-name "$1" --data "$DATA" --partition-key "$RANDOM" --region "$2"

0 commit comments

Comments
 (0)