Skip to content

Commit

Permalink
TM-121 Update userdata to create backup directory for EFS
Browse files Browse the repository at this point in the history
  • Loading branch information
vc13837 committed Aug 30, 2024
1 parent 0f24245 commit 52dc76f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/environments/apex/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ rpm -U ./amazon-cloudwatch-agent.rpm
echo '${data.local_file.cloudwatch_agent.content}' > cloudwatch_agent_config.json
/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c file:/etc/cloudwatch_agent/cloudwatch_agent_config.json
mkdir /backups/APEX_RMAN
chmod 777 /backups/APEX_RMAN
EOF

}

0 comments on commit 52dc76f

Please sign in to comment.