Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conditional/basic skip with message #209

Merged
merged 3 commits into from
Sep 16, 2024
Merged

Conversation

projkov
Copy link
Collaborator

@projkov projkov commented Sep 16, 2024

Ref: #71

Copy link

Terraform Plan Output

Click to expand
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # helm_release.inferno will be updated in-place
  ~ resource "helm_release" "inferno" {
        id                         = "inferno"
      ~ metadata                   = [
          - {
              - app_version    = "1.16.0"
              - chart          = "inferno-helmd"
              - first_deployed = 1721880494
              - last_deployed  = 1726137136
              - name           = "inferno"
              - namespace      = "inferno"
              - revision       = 30
              - values         = jsonencode(
                    {
                      - controller     = {
                          - enabled              = false
                          - ingressClass         = "nginx"
                          - ingressClassResource = {
                              - default = false
                              - enabled = true
                              - name    = "nginx"
                            }
                          - service              = {
                              - annotations = {
                                  - "service.beta.kubernetes.io/aws-load-balancer-type" = "nlb"
                                }
                            }
                        }
                      - externalDomain = "inferno.hl7.org.au"
                      - inferno        = {
                          - externalValidatorUrl = null
                          - imageUrl             = "ghcr.io/hl7au/au-fhir-core-inferno:897d760cfe0765607b789ea0f081dec8efddbb26"
                          - terminologyServer    = "https://tx.dev.hl7.org.au/fhir"
                        }
                      - postgresql     = {
                          - containerPorts = {
                              - postgresql = 5432
                            }
                          - enabled        = false
                          - externaldbhost = "(sensitive value)"
                          - global         = {
                              - postgresql = {
                                  - auth = {
                                      - database = "inferno"
                                      - password = "(sensitive value)"
                                      - username = "(sensitive value)"
                                    }
                                }
                            }
                        }
                    }
                )
              - version        = "0.2.0"
                # (1 unchanged attribute hidden)
            },
        ] -> (known after apply)
        name                       = "inferno"
        # (26 unchanged attributes hidden)

      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Copy link

Terraform Plan Output

Click to expand
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # helm_release.inferno will be updated in-place
  ~ resource "helm_release" "inferno" {
        id                         = "inferno"
      ~ metadata                   = [
          - {
              - app_version    = "1.16.0"
              - chart          = "inferno-helmd"
              - first_deployed = 1721880494
              - last_deployed  = 1726137136
              - name           = "inferno"
              - namespace      = "inferno"
              - revision       = 30
              - values         = jsonencode(
                    {
                      - controller     = {
                          - enabled              = false
                          - ingressClass         = "nginx"
                          - ingressClassResource = {
                              - default = false
                              - enabled = true
                              - name    = "nginx"
                            }
                          - service              = {
                              - annotations = {
                                  - "service.beta.kubernetes.io/aws-load-balancer-type" = "nlb"
                                }
                            }
                        }
                      - externalDomain = "inferno.hl7.org.au"
                      - inferno        = {
                          - externalValidatorUrl = null
                          - imageUrl             = "ghcr.io/hl7au/au-fhir-core-inferno:897d760cfe0765607b789ea0f081dec8efddbb26"
                          - terminologyServer    = "https://tx.dev.hl7.org.au/fhir"
                        }
                      - postgresql     = {
                          - containerPorts = {
                              - postgresql = 5432
                            }
                          - enabled        = false
                          - externaldbhost = "(sensitive value)"
                          - global         = {
                              - postgresql = {
                                  - auth = {
                                      - database = "inferno"
                                      - password = "(sensitive value)"
                                      - username = "(sensitive value)"
                                    }
                                }
                            }
                        }
                    }
                )
              - version        = "0.2.0"
                # (1 unchanged attribute hidden)
            },
        ] -> (known after apply)
        name                       = "inferno"
        # (26 unchanged attributes hidden)

      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Copy link

Terraform Plan Output

Click to expand
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # helm_release.inferno will be updated in-place
  ~ resource "helm_release" "inferno" {
        id                         = "inferno"
      ~ metadata                   = [
          - {
              - app_version    = "1.16.0"
              - chart          = "inferno-helmd"
              - first_deployed = 1721880494
              - last_deployed  = 1726137136
              - name           = "inferno"
              - namespace      = "inferno"
              - revision       = 30
              - values         = jsonencode(
                    {
                      - controller     = {
                          - enabled              = false
                          - ingressClass         = "nginx"
                          - ingressClassResource = {
                              - default = false
                              - enabled = true
                              - name    = "nginx"
                            }
                          - service              = {
                              - annotations = {
                                  - "service.beta.kubernetes.io/aws-load-balancer-type" = "nlb"
                                }
                            }
                        }
                      - externalDomain = "inferno.hl7.org.au"
                      - inferno        = {
                          - externalValidatorUrl = null
                          - imageUrl             = "ghcr.io/hl7au/au-fhir-core-inferno:897d760cfe0765607b789ea0f081dec8efddbb26"
                          - terminologyServer    = "https://tx.dev.hl7.org.au/fhir"
                        }
                      - postgresql     = {
                          - containerPorts = {
                              - postgresql = 5432
                            }
                          - enabled        = false
                          - externaldbhost = "(sensitive value)"
                          - global         = {
                              - postgresql = {
                                  - auth = {
                                      - database = "inferno"
                                      - password = "(sensitive value)"
                                      - username = "(sensitive value)"
                                    }
                                }
                            }
                        }
                    }
                )
              - version        = "0.2.0"
                # (1 unchanged attribute hidden)
            },
        ] -> (known after apply)
        name                       = "inferno"
        # (26 unchanged attributes hidden)

      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      - set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
      + set_sensitive {
          # At least one attribute in this block is (or was) sensitive,
          # so its contents will not be displayed.
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.

@projkov projkov merged commit 2e70143 into master Sep 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant