Skip to content

Commit 543cee4

Browse files
committed
Make it a valid json
1 parent 64928e8 commit 543cee4

File tree

1 file changed

+2
-6
lines changed
  • terraform/dotnet/ec2/windows

1 file changed

+2
-6
lines changed

terraform/dotnet/ec2/windows/main.tf

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,12 @@ resource "aws_ssm_document" "main_service_setup" {
164164
{
165165
"schemaVersion": "2.2",
166166
"description": "Setup main service instance",
167-
"inputs": {
168-
"cloudWatchLogGroupName": "pulse-dotnet-windows-e2e-run"
169-
},
170167
"mainSteps": [
171168
{
172169
"action": "aws:runPowerShellScript",
173170
"name": "setupMainService",
174171
"inputs": {
172+
"cloudWatchLogGroupName": "pulse-dotnet-windows-e2e-run",
175173
"runCommand": [
176174
"aws s3 cp s3://aws-appsignals-sample-app-prod-${var.aws_region}/amazon-cloudwatch-agent.json ./amazon-cloudwatch-agent.json",
177175
"powershell -Command \"(Get-Content -Path 'amazon-cloudwatch-agent.json') -replace 'REGION', 'us-east-1' | Set-Content -Path 'amazon-cloudwatch-agent.json'\"",
@@ -194,14 +192,12 @@ resource "aws_ssm_document" "remote_service_setup" {
194192
{
195193
"schemaVersion": "2.2",
196194
"description": "Setup remote service instance",
197-
"inputs": {
198-
"cloudWatchLogGroupName": "pulse-dotnet-windows-e2e-run"
199-
},
200195
"mainSteps": [
201196
{
202197
"action": "aws:runPowerShellScript",
203198
"name": "setupRemoteService",
204199
"inputs": {
200+
"cloudWatchLogGroupName": "pulse-dotnet-windows-e2e-run",
205201
"runCommand": [
206202
"aws s3 cp s3://aws-appsignals-sample-app-prod-${var.aws_region}/amazon-cloudwatch-agent.json ./amazon-cloudwatch-agent.json",
207203
"powershell -Command \"(Get-Content -Path 'amazon-cloudwatch-agent.json') -replace 'REGION', 'us-east-1' | Set-Content -Path 'amazon-cloudwatch-agent.json'\"",

0 commit comments

Comments
 (0)