FlexibleEngineCloud / terraform-provider-flexibleengine

Terraform flexibleengine provider
https://www.terraform.io/docs/providers/flexibleengine/
Mozilla Public License 2.0
30 stars 53 forks source link

flexibleengine_sfs_file_system_v2 output metadata is empty #421

Closed fculpo closed 3 years ago

fculpo commented 3 years ago

When getting outputs of a flexibleengine_sfs_file_system_v2 created as follows, the metadata output is empty

resource "flexibleengine_sfs_file_system_v2" "this" {
  name         = local.full_name
  size         = local.nfs.size
  share_proto  = "NFS"
  access_level = "rw"
  description  = "${local.full_name} NFS Share"
  is_public    = false
  access_to    = ""
  metadata = {
   "#sfs_crypt_key_id"    = flexibleengine_kms_key_v1.customer.id
   "#sfs_crypt_domain_id" = flexibleengine_kms_key_v1.customer.domain_id
   "#sfs_crypt_alias"     = flexibleengine_kms_key_v1.customer.key_alias
  }

  lifecycle {
    ignore_changes = [
      metadata
    ]
  }
}
antonin-a commented 3 years ago

@niuzhenguo can you please check this one ?

ShiChangkuo commented 3 years ago

@fculpo @antonin-a sorry for delay, will fix it soon.