Bug Report Checklist
Description
When updating server profile template (intersight_server_profile_template), no template synchronization is done to update linked profiles.
Resource argument template_actions is causing an API error if used.
Resource argument action seems useless (tryied No-op, Sync, Deploy).
Terraform-provider-intersight version
1.0.66, signed, from registry.terraform.io
PVA 1.1.2-1
Configuration file
Step 1 :
resource "intersight_thermal_policy" "ok" {
name = "issue_thermal"
}
resource "intersight_server_profile_template" "ok" {
name = "issue_template"
policy_bucket {
moid = intersight_thermal_policy.ok.moid
object_type = intersight_thermal_policy.ok.object_type
}
}
resource "intersight_server_profile" "ok" {
name = "issue_profile"
src_template {
moid = intersight_server_profile_template.ok.moid
object_type = intersight_server_profile_template.ok.object_type
}
}
Apply and wait for convergence (wait_for_completion does not work), activate profile on a compute.
Step 2 (remove thermal policy from template) :
resource "intersight_thermal_policy" "ok" {
name = "issue_thermal"
}
resource "intersight_server_profile_template" "ok" {
name = "issue_template"
}
resource "intersight_server_profile" "ok" {
name = "issue_profile"
src_template {
moid = intersight_server_profile_template.ok.moid
object_type = intersight_server_profile_template.ok.object_type
}
}
Apply is OK but profile is not updated within Intersight (no template synchronisation).
If I manually edit template within Intersight UI, then it synchronize the profile.
Actual output (Attach screenshots if applicable)
Not relevant, more a functional issue Terraform Provider / Intersight
Related issues/PRs
Suggest a fix
Implement template_actions or offer a way to sync template to linked profiles.
Update provider documentation accordingly.
Bug Report Checklist
Description
When updating server profile template (
intersight_server_profile_template), no template synchronization is done to update linked profiles.Resource argument
template_actionsis causing an API error if used.Resource argument
actionseems useless (tryiedNo-op,Sync,Deploy).Terraform-provider-intersight version
1.0.66, signed, from registry.terraform.io
PVA 1.1.2-1
Configuration file
Step 1 :
Apply and wait for convergence (
wait_for_completiondoes not work), activate profile on a compute.Step 2 (remove thermal policy from template) :
Apply is OK but profile is not updated within Intersight (no template synchronisation).
If I manually edit template within Intersight UI, then it synchronize the profile.
Actual output (Attach screenshots if applicable)
Not relevant, more a functional issue Terraform Provider / Intersight
Related issues/PRs
Suggest a fix
Implement
template_actionsor offer a way to sync template to linked profiles.Update provider documentation accordingly.