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

DXE-3241 akamai_cloudlets_policy doesn't get updated upon a 'terraform refresh' #478

Closed
mf-sky opened this issue Oct 2, 2023 · 4 comments

Comments

@mf-sky
Copy link

mf-sky commented Oct 2, 2023

Hi!

When creating a cloudlet policy and activating it, if i want to refresh the state after a manual change, the resource akamai_cloudlets_policy does not get updated

Terraform Version

Terraform v1.5.7
on darwin_arm64

  • provider registry.terraform.io/akamai/akamai v5.3.0

Affected Resource(s)

  • akamai_cloudlets_policy

Terraform Configuration Files

N/A

Debug Output

N/A

Panic Output

N/A

Expected Behavior

Import the current active version of the policy

Actual Behavior

The resource was not refreshed

Steps to Reproduce

  1. terraform apply
  2. Manually change the resource
  3. terraform refresh or terraform apply -refresh-only

Important Factoids

akamai_cloudlets_policy_activation gets refreshed correctly

References

N/A

@majakubiec
Copy link
Contributor

Hi, @mf-sky

Thank you for raising this issue. I was able to reproduce it and created internal ticket.

@majakubiec majakubiec changed the title akamai_cloudlets_policy doesn't get updated upon a 'terraform refresh' DXE-3241 akamai_cloudlets_policy doesn't get updated upon a 'terraform refresh' Oct 5, 2023
@majakubiec majakubiec added the bug label Oct 5, 2023
@lkowalsk-akamai-com
Copy link
Contributor

Hi, this was addressed in recent 5.6.0 release.

@hypnotisttom
Copy link

@aka-mark, this might be what we discussed today regarding the cloudlet policy refresh on 5.5.0. I will have to retest on 5.6.0.

@hypnotisttom
Copy link

Just to circle back, after testing, this does appear to resolve our issue with 5.5.0 with cloudlets changing in the console and showing no drift in the TF. Thanks!

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

No branches or pull requests

5 participants