2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hello
You can use in this way:
- Create AMI from the Ec2
- Launch AMI and add user data to modify the config file
#!/bin/bash
/bin/sed -i 's/old-text/new-text/g' configfile/path
please let me know if you have any questions
Thanks GK
답변함 2년 전
0
Hi, Sorry about delayed response. I was on leave. What I’m trying to achieve is modify the file content from db1.AWS.com to db2.AWS.com while the volumes are swapped. In other words, can I modify the value within AWS console or CLI before I swap over the volumes ?
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 7달 전
- AWS 공식업데이트됨 일 년 전
Thank you. I shall give a try and let you know.
Is it working do you have feedback?