poroping / terraform-provider-fortios

Terraform Fortios provider
https://www.terraform.io/docs/providers/fortios/
Mozilla Public License 2.0
1 stars 0 forks source link

deal with password fields #10

Open poroping opened 3 years ago

poroping commented 3 years ago

Build some logic in to deal with password fields ala:

  ~ resource "fortios_routerospf_ospfinterface" "interfaces" {
        id                    = "mgmt-ospf"
        name                  = "mgmt-ospf"
        # (20 unchanged attributes hidden)
      ~ md5_keys {
            id         = 1
          ~ key_string = "ENC XXXX" -> "supersecrets!"
        }
    }
poroping commented 2 years ago

Just to note that this doesn't appear to be possible at this time due to how Terraform handles 'blocks'