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

"description" field not importing for SHARED cloudlets #526

Closed
hypnotisttom opened this issue Feb 21, 2024 · 3 comments
Closed

"description" field not importing for SHARED cloudlets #526

hypnotisttom opened this issue Feb 21, 2024 · 3 comments

Comments

@hypnotisttom
Copy link

Terraform Version

1.3.1

Provider Version

5.6.0

Affected Resource(s)

akamai_cloudlets_policy

Expected Behavior

When importing a shared cloudlet with Provider version 5.6.0, I would expect the description field to be imported. Not importing it results in drift immediately after import. It should be noted that for unshared cloudlets the description field does import correctly.

Actual Behavior

The description field is left out of the state (via terraform state show) after import, which causes immediate drift.

Steps to Reproduce

  1. Import a shared cloudlet (we tested with Edge Redirector) that has a description on a cloudlet version
  2. Run a terraform plan to see the drift
  3. Check terraform state show to see no description field
  4. Repeat the same steps for an unshared cloudlet, noticing that the description field is imported to state, with no immediate drift
@lsadlon
Copy link

lsadlon commented Feb 22, 2024

Hi @hypnotisttom

I was not able to reproduce it, but could you check if you have set this description for policy version, because there is also other description for policy itself. Terraform is taking it from policy version. Could check if that was a case?

BR,
Lukasz

@hypnotisttom
Copy link
Author

Hi @lsadlon,

I checked with my peer again because we did check that yesterday; however, in re-checking it does appear the version notes field is blank. I apologize - not sure what happened here.

I will close this out for now. We have more shared cloudlets to import; if I can find an issue where the field isn't importing from the version, I'll let you know.

Again, please forgive me. We knew it was only the version notes field that would import, but somehow our eyes saw something that wasn't there. :-)

@lsadlon
Copy link

lsadlon commented Feb 22, 2024

Hi @hypnotisttom,

No worries. :-) If something else pop out, please don't hesitate reporting it.

BR,
Lukasz

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

No branches or pull requests

3 participants