brash-school-3769
04/21/2025, 1:46 PMerror: Resource crowdstrike_sensor_update_policy_host_group_attachment has a problem: an "id" input attribute is not allowed. To map this resource specify SchemaInfo.Name and ResourceInfo.ComputeID
What needs to be done here? I found this documentation https://github.com/pulumi/pulumi-terraform-bridge/blob/master/docs/guides/resource-ids.md, but it doesn't provide guidance on this specific issue. I believe the issue is arising because the id is not a computed value in terraform, but rather one that needs to be supplied by the user. What is the recommended work around?adorable-house-61348
04/22/2025, 10:00 AMadorable-house-61348
04/22/2025, 10:01 AM"crowdstrike_sensor_update_policy_host_group_attachment": {
ComputeID: tfbridge.DelegateIDField(resource.PropertyKey("id"),
"crowdstrike", "<https://github.com/crowdstrike/pulumi-crowdstrike>"),
},
In your resources.go fileadorable-house-61348
04/22/2025, 10:03 AMadorable-house-61348
04/22/2025, 10:09 AMid
field though so that it is still usable on the Pulumi side:
"crowdstrike_sensor_update_policy_host_group_attachment": {
Fields: map[string]*info.Schema{
"id": {
Name: "idProperty",
},
},
ComputeID: tfbridge.DelegateIDField(resource.PropertyKey("idProperty"),
"crowdstrike", "<https://github.com/crowdstrike/pulumi-crowdstrike>"),
},
Something like this should workadorable-house-61348
04/22/2025, 10:22 AMbrash-school-3769
04/22/2025, 2:29 PM