Hi,
I’m working on a official provider.
We are trying to implement a new element within an existing resource which looks like this…
"waf": {
Type: schema.TypeList,
Optional: true,
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"response_object": {
Type: schema.TypeString,
Required: true,
},
"prefetch_condition": {
Type: schema.TypeString,
Required: true,
},
"waf_id": {
Type: schema.TypeString,
Computed: true,
},
},
},
‘’’
However the computed property “waf_id” doesn’t seem to be recognised and therefore it doesn’t show on the plan (plan bellow).
+ waf {
+ prefetch_condition = "Waf_Prefetch"
+ response_object = "WAF_Response"
}
Is there a way I can make Terraform recognise “waf_id” as computed property?
Any advice would be greatly appreciated.
Many thanks,