Skip to content

Commit

Permalink
OCTOPUS-527: add a trigger to run null_resource provider
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Nov 2, 2023
1 parent aca15fb commit a4c347e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/5_image/image.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ resource "ibm_cos_bucket" "cos_bucket" {

resource "null_resource" "upload_rhcos_image" {
depends_on = [ibm_cos_bucket.cos_bucket]

triggers = {
cos_bucket = ibm_cos_bucket.cos_bucket
}

connection {
type = "ssh"
user = var.rhel_username
Expand Down

0 comments on commit a4c347e

Please sign in to comment.