Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] - Add SiteShield to Akamai Terraform Provider #227

Open
codezninja opened this issue Apr 15, 2021 · 3 comments
Open

[Feature] - Add SiteShield to Akamai Terraform Provider #227

codezninja opened this issue Apr 15, 2021 · 3 comments

Comments

@codezninja
Copy link

It would be helpful if we could pull SiteShield ip address lists through a datasource. Is this something we can add to the provider?

@siwyd
Copy link

siwyd commented Apr 16, 2021

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.

@srgustafson8
Copy link

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
  }
}

@aka-mark aka-mark added the STG label Aug 31, 2023
@emoshaya
Copy link

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants