Resource foreman_katello_product seems not working on Katello 4.11, asking to specify organization_id. In documentation organization_id parameter not available on this resource
➜ katello-terraform terraform apply
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# foreman_katello_product.example will be created
+ resource "foreman_katello_product" "example" {
+ __meta__ = (known after apply)
+ description = "Test terraform"
+ id = (known after apply)
+ name = "Debian 12"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ out = {
+ __meta__ = (known after apply)
+ description = "Test terraform"
+ gpg_key_id = null
+ id = (known after apply)
+ label = null
+ name = "Debian 12"
+ sync_plan_id = null
}
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
foreman_katello_product.example: Creating...
╷
│ Error: HTTP Error:{
│ endpoint: [https://<HIDDEN>/katello/api/products]
│ statusCode: [404]
│ respBody: [{"displayMessage":"One of parameters [ organization_id ] required but not specified.","errors":["One of parameters [ organization_id ] required but not specified."]}]
│ }
│
│ with foreman_katello_product.example,
│ on main.tf line 25, in resource "foreman_katello_product" "example":
│ 25: resource "foreman_katello_product" "example" {
│
╵
Hello,
Resource
foreman_katello_product
seems not working on Katello 4.11, asking to specifyorganization_id
. In documentation organization_id parameter not available on this resourcehttps://registry.terraform.io/providers/terraform-coop/foreman/latest/docs/resources/foreman_katello_product
main.tf :
Terraform apply output :
terraform-provider-foreman.log :