Open codezninja opened 3 years ago
And I don't want to hijack your ticket, but also for staging SiteShield IP's. When we automated this in our company to automatically update AWS security groups, it required speaking to two completely different Akamai API's to accomplish this for both production and staging.
Just adding some extra details to this as I raised a duplicate without realising:
API Docs:
https://techdocs.akamai.com/site-shield/reference/get-maps https://techdocs.akamai.com/site-shield/reference/get-map
An example of what i'd expect to see once implemented.
data "akamai_site_shield_maps" "this" {} # List Maps API resource
data "akamai_site_shield_map" "this" { # Get Map API resource
id = data.akamai_site_shield_maps.this[0].id
}
resource "a_waf_rule" "this" {
...
rule {
action = "ALLOW"
ip_range = data.akamai_site_shield_map.this.current_cidrs
}
}
any update on this?
It would be helpful if we could pull SiteShield ip address lists through a datasource. Is this something we can add to the provider?