Forum Discussion

JeremyTurpin's avatar
2 months ago

Error when attempting to add pooled license to site via Terraform

Hi, I'm trying to use the new cato_license resource in terraform to automatically add license to a site from our pooled license, but I'm getting the following error message. While investigating, I ran an API call to show all our licenses and noticed that our pooled licenses have an ID of "null" is this perhaps an issue with my licenses?

 

1 Reply

  • RobertG's avatar
    RobertG
    Icon for Cato Employee rankCato Employee

    Hi Jeremy,

    Can you confirm if you have run the below datasource and see license ID's returned in the state file?

    data "cato_licensingInfo" "pb_license" {}

    Thanks Rob