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

Datasource azurerm_shared_image does not export purchase_plan atribute #19806

Closed
1 task done
voroniys opened this issue Dec 29, 2022 · 2 comments · Fixed by #19873
Closed
1 task done

Datasource azurerm_shared_image does not export purchase_plan atribute #19806

voroniys opened this issue Dec 29, 2022 · 2 comments · Fixed by #19873

Comments

@voroniys
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.3.5

AzureRM Provider Version

3.35.0

Affected Resource(s)/Data Source(s)

azurerm_shared_image

Terraform Configuration Files

data "azurerm_shared_image" "example" {
  name                = "my-image"
  gallery_name        = "my-image-gallery"
  resource_group_name = "example-resources"
}

Debug Output/Panic Output

Output of terraform state show:

data "azurerm_shared_image" "example" {
    architecture        = "x64"
    gallery_name        = "XxxxGallery"
    hyper_v_generation  = "V1"
    id                  = "/subscriptions/xxxxxxxxxxxxxxxxxx/resourceGroups/XXXXXXXX/providers/Microsoft.Compute/galleries/XxxxGallery/images/Linux-XXXXXXX"
    identifier          = [
        {
            offer     = "xxxxxxxxxxxxxxxxx"
            publisher = "xxxxxxxxxxxx"
            sku       = "xxxxxxxxxx"
        },
    ]
    location            = "westeurope"
    name                = "IXXXXXXXXXXXXXS"
    os_type             = "Linux"
    resource_group_name = "XXXXXXXXXXXXXXXXXXX"
    specialized         = false
    tags                = {
        "apps"             = ""
    }
}


### Expected Behaviour

The returned data structure should contain `purchase_plan` attribute, same like resource does.

### Actual Behaviour

Data source does not export `purchase_plan` attribute

### Steps to Reproduce

terraform apply on shared image with purchase_plan set.

### Important Factoids

_No response_

### References

_No response_
@github-actions
Copy link

This functionality has been released in v3.39.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants