Rpc volume (#511)

* fix root volume path

* add monitoring notification (manual deploy)
This commit is contained in:
Wanwiset Peerapatanapokin 2024-03-31 01:20:09 +04:00 committed by GitHub
parent d76a573cf2
commit bf264f6200
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View file

@ -29,3 +29,13 @@ jobs:
--inventory inventory.yaml
--extra-vars network=${{inputs.network}}
--extra-vars rpc_image=${{inputs.rpc_image}}
devnet_send_notification:
runs-on: ubuntu-latest
needs: ansible
steps:
- uses: actions/checkout@v4
- name: Send deployment notification
run: |
curl --location --request POST "66.94.98.186:8080/deploy?environment=${{inputs.network}}&service=xdc_rpc&version=${{inputs.rpc_image}}"

View file

@ -76,7 +76,7 @@ resource "aws_instance" "rpc_instance" {
key_name = var.ssh_key_name
vpc_security_group_ids = [aws_security_group.rpc_sg.id]
ebs_block_device {
device_name = "/dev/sda1"
device_name = "/dev/xvda"
volume_size = 500
}