Skip to content

Commit cf243f8

Browse files
updating ssm doc with env variable (#372)
fixes issue #326 Co-authored-by: bryan-aguilar <[email protected]>
1 parent b59a43c commit cf243f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/docs/setup/ec2.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ To install AWSDistroOTel-Collector package on EC2 instances of Auto Scaling grou
128128
<img src={imgSSM8} alt="Diagram" style="margin: 30px 0;" />
129129

130130
**Notes**
131+
132+
The SSM distributor creates an environment file at ```/opt/aws/aws-otel-collector/etc/.env``` . Any environment variable that will be used in the [open telemetry configuration](https://opentelemetry.io/docs/collector/configuration/#configuration-environment-variables) needs to be added to this file.
133+
131134
After you finished the tutorial, remember to shut down the new EC2 instance we created in the tutorial in order to avoid additional charges.
132135

133136

0 commit comments

Comments
 (0)