Skip to content

Commit

Permalink
Merge pull request #52 from DFE-Digital/rename_servicekey
Browse files Browse the repository at this point in the history
Rename the postgres service key
  • Loading branch information
NickGraham101 authored Feb 3, 2022
2 parents 7a7dfa0 + 9747b65 commit f66dc4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion postgres_prometheus_exporter/input.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ variable "monitoring_space_id" {}
variable "postgres_service_instance" {}

locals {
docker_image_tag = "v0.10.0"
docker_image_tag = "v0.10.1"
}
2 changes: 1 addition & 1 deletion postgres_prometheus_exporter/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data "cloudfoundry_service_instance" "postgres_instance" {
}

resource "cloudfoundry_service_key" "postgres-key" {
name = data.cloudfoundry_service_instance.postgres_instance.name
name = "${data.cloudfoundry_service_instance.postgres_instance.name}-prometheus-exporter"
service_instance = data.cloudfoundry_service_instance.postgres_instance.id
}

Expand Down

0 comments on commit f66dc4c

Please sign in to comment.