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

DXISSUE-3061 ip_behavior in resource "akamai_edge_hostname" #581

Open
rolmo opened this issue Sep 19, 2024 · 1 comment
Open

DXISSUE-3061 ip_behavior in resource "akamai_edge_hostname" #581

rolmo opened this issue Sep 19, 2024 · 1 comment

Comments

@rolmo
Copy link

rolmo commented Sep 19, 2024

Hi there,

your documentation for akamai_edge_hostname (https://techdocs.akamai.com/terraform/docs/pm-rc-edge-hostname) (for v4.6) suggest three possible values for ip_behavior

  • IPV4
  • IPV6
  • IPV6_IPV4_DUALSTACK

But IPV6_IPV4_DUALSTACK gives an error, I must use IPV6_COMPLIANCE.

Terraform and Akamai Terraform Provider Versions

  • Terraform v1.9.5 on darwin_amd64
  • v4.6

Affected Resource(s)

  • akamai_edge_hostname

Terraform Configuration Files

This fails:

resource "akamai_edge_hostname" "edition-issues" {
  contract_id   = var.contract_id
  group_id      = var.group_id
  product_id    = var.product.product_id
  ip_behavior   = "IPV6_IPV4_DUALSTACK"
  edge_hostname = local.edge_hostname
}

This works:

resource "akamai_edge_hostname" "edition-issues" {
  contract_id   = var.contract_id
  group_id      = var.group_id
  product_id    = var.product.product_id
  ip_behavior   = "IPV6_COMPLIANCE"
  edge_hostname = local.edge_hostname
}

Error Output

With IPV6_IPV4_DUALSTACK, I get this error:

Error: creating edge hostname: struct validation:
IPVersionBehavior: must be a valid value
@rolmo rolmo changed the title ip_behavior in resource "akamai_edge_hostname" "edition-issues" { ip_behavior in resource "akamai_edge_hostname" Sep 19, 2024
@lsadlon
Copy link

lsadlon commented Sep 19, 2024

Hi @rolmo ,

Thanks for reporting this issue. I will create internal ticket to fix our documentation.

BR,
Lukasz

@lsadlon lsadlon changed the title ip_behavior in resource "akamai_edge_hostname" DXISSUE-3061 ip_behavior in resource "akamai_edge_hostname" Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants