Skip to content

Commit 4798eff

Browse files
tamyyalomanandkunal
authored andcommitted
policy_asset_association: fix synthetic ID format
1 parent 8f42758 commit 4798eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

incapsula/resource_policy_asset_association.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func resourcePolicyAssetAssociationCreate(d *schema.ResourceData, m interface{})
5656
}
5757

5858
// Generate synthetic ID
59-
syntheticID := fmt.Sprintf("%s-%s-%s", policyID, assetID, assetType)
59+
syntheticID := fmt.Sprintf("%s/%s/%s", policyID, assetID, assetType)
6060
d.SetId(syntheticID)
6161
log.Printf("[INFO] Created Incapsula policy asset association with ID: %s - policy ID (%s) - asset ID (%s) - asset type (%s)\n", syntheticID, policyID, assetID, assetType)
6262

0 commit comments

Comments
 (0)