You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the past, there was the problem that you needed the ID of a property for the akamai_datastream, but the property needed the ID of a akamai_datastream, which meant that the whole thing could not be rolled out automatically.
As far as I understand it, the resource akamai_property_bootstrap should be used for this:
With akamai_property_bootstrap, a property is created that does not have to contain any rules, but has a property ID.
The datastream can then be created with akamai_datastream.
The property can then be finalised with akamai_property and given rules that use the datastream via his ID.
The resource resource "akamai_datastream" "test" creates this error message:
One or more properties (xxxxxx) are invalid. Provide properties that are authorized to be a part of this stream, and belong to the xxxx contract and xxxxx group ID."
(But the (empty) property is created, has the right group and the right contract)
Expected Behavior
The datastream should created, because the property and datastream are in the same contract/group.
The text was updated successfully, but these errors were encountered:
akamai_property_bootstrap resource does not solve circular dependency problem with property and datastream. It only enables walkaround of that issue. The limitation is that you can not simply use it with single apply. You need two applies:
Create and apply configuration containing:
akamai_cp_code
akamai_edge_hostname
akamai_property_bootstrap
akamai_property (with references to akamai_property_bootstrap)
akamai_property_activation
akamai_datastream (commented out, with reference to akamai_property_bootstrap id)
Okay - I see. But the whole thing is very cumbersome!
It would be ideal if you had a documentation for this - akamai_property_bootstrap is offered when exporting a propery in the Akamai CLI, but you can't find out the correct usage anywhere
Hi there,
In the past, there was the problem that you needed the ID of a property for the
akamai_datastream
, but the property needed the ID of aakamai_datastream
, which meant that the whole thing could not be rolled out automatically.As far as I understand it, the resource
akamai_property_bootstrap
should be used for this:akamai_property_bootstrap
, a property is created that does not have to contain any rules, but has a property ID.akamai_datastream
.akamai_property
and given rules that use the datastream via his ID.But this fails.
Terraform and Akamai Terraform Provider Versions
Terraform: v1.9.6
Akamai-Provider: 6.4.0
Affected Resource(s)
akamai_property_bootstrap
akamai_datastream
Terraform Configuration Files
Debug Output
The resource
resource "akamai_datastream" "test"
creates this error message:One or more properties (xxxxxx) are invalid. Provide properties that are authorized to be a part of this stream, and belong to the xxxx contract and xxxxx group ID."
(But the (empty) property is created, has the right group and the right contract)
Expected Behavior
The datastream should created, because the property and datastream are in the same contract/group.
The text was updated successfully, but these errors were encountered: