remove flow/deliver log status attributes
This commit is contained in:
parent
d5f962b14b
commit
87c7f6337d
|
@ -55,16 +55,6 @@ func resourceAwsFlowLog() *schema.Resource {
|
||||||
Required: true,
|
Required: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"flow_log_status": &schema.Schema{
|
|
||||||
Type: schema.TypeString,
|
|
||||||
Computed: true,
|
|
||||||
},
|
|
||||||
|
|
||||||
"deliver_log_status": &schema.Schema{
|
|
||||||
Type: schema.TypeString,
|
|
||||||
Computed: true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,8 +134,6 @@ func resourceAwsLogFlowRead(d *schema.ResourceData, meta interface{}) error {
|
||||||
d.Set("traffic_type", fl.TrafficType)
|
d.Set("traffic_type", fl.TrafficType)
|
||||||
d.Set("log_group_name", fl.LogGroupName)
|
d.Set("log_group_name", fl.LogGroupName)
|
||||||
d.Set("iam_role_arn", fl.DeliverLogsPermissionARN)
|
d.Set("iam_role_arn", fl.DeliverLogsPermissionARN)
|
||||||
d.Set("flow_log_status", fl.FlowLogStatus)
|
|
||||||
d.Set("deliver_log_status", fl.DeliverLogsStatus)
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,5 +38,3 @@ The following arguments are supported:
|
||||||
The following attributes are exported:
|
The following attributes are exported:
|
||||||
|
|
||||||
* `id` - The Flow Log ID
|
* `id` - The Flow Log ID
|
||||||
* `flow_log_status` - The status of the flow log (ex: `ACTIVE`)
|
|
||||||
* `deliver_log_status` - The status of the logs delivery (ex: `SUCCESS`, `FAILED`)
|
|
||||||
|
|
Loading…
Reference in New Issue