230430-job

This commit is contained in:
havelight-ee
2023-05-02 11:56:25 +09:00
parent 71a7b61c97
commit 73f5df0334
61 changed files with 1680 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
resource "aws_security_group" "grafana-allow-security" {
name = "grafana-allow-security"
name = "grafana-allow-security-new"
description = "Allow inbound traffic"
vpc_id = var.VPC_ID
@@ -8,7 +8,7 @@ resource "aws_security_group" "grafana-allow-security" {
from_port = 22
to_port = 22
protocol = "tcp"
cidr_blocks = ["118.223.123.161/32","175.124.220.188/32"]
cidr_blocks = ["118.223.123.161/32"]
}
ingress {
@@ -46,7 +46,7 @@ resource "aws_instance" "grafana" {
key_name = "kp-jay-bastion-datasaker"
vpc_security_group_ids = [aws_security_group.grafana-allow-security.id]
availability_zone = "ap-northeast-2c"
subnet_id = var.Public_Subnet_ID_1
subnet_id = var.Public_Subnet_ID_3
root_block_device {
delete_on_termination = true