Skip to content

Commit

Permalink
Merge pull request #205 from mira-miracoli/floating-ip
Browse files Browse the repository at this point in the history
Add floating IP for stats
  • Loading branch information
kysrpex authored Jul 23, 2024
2 parents 1c3ee70 + ec459a2 commit 8ff1252
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion instance_core_stats.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ resource "openstack_compute_instance_v2" "grafana" {
# description = "Data volume for Grafana"
# size = 2
# }

resource "openstack_networking_floatingip_v2" "stats-floatip" {
pool = "public-extended"
}
resource "openstack_compute_volume_attach_v2" "stats-data-vol1" {
instance_id = openstack_compute_instance_v2.grafana.id
volume_id = "ad56f01f-cb21-458c-b1f9-90f937aa6525"
Expand Down

0 comments on commit 8ff1252

Please sign in to comment.