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年前
関連するコンテンツ
- 質問済み 6年前
- AWS公式更新しました 4年前
- AWS公式更新しました 8ヶ月前
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前
Thank you. I shall give a try and let you know.
Is it working do you have feedback?