NOTE: terraform apply does produce the correct list map with flowlog_ocid and its value.
Steps to Reproduce
use the code snippet above to create a list of subnets, tcreate flow log for each subnet and then enable output with the list map as shown in the code example
run terraform plan. you will see flowlog_ocid line is missing
terraform apply. this will show all 3 key/value pairs correctly with flawlog_ocid included.
Community Note
Terraform Version and Provider Version
Terraform v1.4.5 on linux_amd64
Affected Resource(s)
oci_logging_log
Terraform Configuration Files
Expected Behavior
As the example code snippet, I created a new map for subnet flow logs. The expected on-screen outupt when running terraform plan should be as below:
Actual Behavior
When running terraform plan, the flowlog_ocid = (known after apply) line is missing, the on-screen display is as below
NOTE: terraform apply does produce the correct list map with flowlog_ocid and its value.
Steps to Reproduce
terraform apply
. this will show all 3 key/value pairs correctly with flawlog_ocid included.Important Factoids
References