You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Github template is intended for questions regarding the Terraform Oracle Cloud Infrastructure provider.
Having successfully created replicated software sources in a non root compartment, every terraform plan results in the resource being replaced.
It always shows the **package**s as forcing a replacement, but none was specified when creating; is this expected?
If it's expected, how is this useful, as the whole point is that the resource is replicated from the root compartment.
Terraform v1.9.8
on linux_amd64
provider registry.terraform.io/oracle/oci v6.15.0
eg.
` # oci_os_management_hub_software_source.this["ol9_uekr7-x86_64"] must be replaced
-/+ resource "oci_os_management_hub_software_source" "this" {
~ arch_type = "X86_64" -> (known after apply)
~ availability = "SELECTED" -> (known after apply)
~ availability_at_oci = "SELECTED" -> (known after apply)
~ checksum_type = "SHA256" -> (known after apply)
~ defined_tags = {
- "Oracle-Tags.CreatedBy" = "default/ansible"
- "Oracle-Tags.CreatedOn" = "2024-11-03T08:59:57.205Z"
} -> (known after apply)
~ description = "Oracle Linux 9 UEK Release 7 (x86_64)" -> (known after apply)
~ freeform_tags = {} -> (known after apply)
~ gpg_key_fingerprint = "3E6D 826D 3FBA B389 C2F3 8E34 BC4D 06A0 8D8B 756F" -> (known after apply)
~ gpg_key_id = "8D8B756F" -> (known after apply)
~ gpg_key_url = "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle" -> (known after apply)
~ id = "ocid1.osmhsoftwaresource.oc1........pjaako4xip6e......u6vxiiqk4bumncwnrri7fa" -> (known after apply)
+ is_created_from_package_list = (known after apply)
+ is_latest_content_only = false
~ is_mandatory_for_autonomous_linux = false -> (known after apply)
~ os_family = "ORACLE_LINUX_9" -> (known after apply)
~ package_count = "778" -> (known after apply)
+ packages = (known after apply) # forces replacement
~ repo_id = "ol9_uekr7" -> (known after apply)
+ size = (known after apply)
+ software_source_version = (known after apply)
~ state = "ACTIVE" -> (known after apply)
~ system_tags = {} -> (known after apply)
~ time_created = "2024-11-03 08:59:57.278 +0000 UTC" -> (known after apply)
~ url = "https://yum-uk-london-1.oracle.com/repo/OracleLinux/OL9/UEKR7/x86_64/" -> (known after apply)
~ vendor_name = "ORACLE" -> (known after apply)
# (6 unchanged attributes hidden)
~ custom_software_source_filter (known after apply)
~ vendor_software_sources (known after apply)
}`
The text was updated successfully, but these errors were encountered:
This Github template is intended for questions regarding the Terraform Oracle Cloud Infrastructure provider.
Having successfully created replicated software sources in a non root compartment, every terraform plan results in the resource being replaced.
It always shows the **package**s as forcing a replacement, but none was specified when creating; is this expected?
If it's expected, how is this useful, as the whole point is that the resource is replicated from the root compartment.
Terraform v1.9.8
on linux_amd64
eg.
` # oci_os_management_hub_software_source.this["ol9_uekr7-x86_64"] must be replaced
-/+ resource "oci_os_management_hub_software_source" "this" {
~ arch_type = "X86_64" -> (known after apply)
~ availability = "SELECTED" -> (known after apply)
~ availability_at_oci = "SELECTED" -> (known after apply)
~ checksum_type = "SHA256" -> (known after apply)
~ defined_tags = {
- "Oracle-Tags.CreatedBy" = "default/ansible"
- "Oracle-Tags.CreatedOn" = "2024-11-03T08:59:57.205Z"
} -> (known after apply)
~ description = "Oracle Linux 9 UEK Release 7 (x86_64)" -> (known after apply)
~ freeform_tags = {} -> (known after apply)
~ gpg_key_fingerprint = "3E6D 826D 3FBA B389 C2F3 8E34 BC4D 06A0 8D8B 756F" -> (known after apply)
~ gpg_key_id = "8D8B756F" -> (known after apply)
~ gpg_key_url = "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle" -> (known after apply)
~ id = "ocid1.osmhsoftwaresource.oc1........pjaako4xip6e......u6vxiiqk4bumncwnrri7fa" -> (known after apply)
+ is_created_from_package_list = (known after apply)
+ is_latest_content_only = false
~ is_mandatory_for_autonomous_linux = false -> (known after apply)
~ os_family = "ORACLE_LINUX_9" -> (known after apply)
~ package_count = "778" -> (known after apply)
+ packages = (known after apply) # forces replacement
~ repo_id = "ol9_uekr7" -> (known after apply)
+ size = (known after apply)
+ software_source_version = (known after apply)
~ state = "ACTIVE" -> (known after apply)
~ system_tags = {} -> (known after apply)
~ time_created = "2024-11-03 08:59:57.278 +0000 UTC" -> (known after apply)
~ url = "https://yum-uk-london-1.oracle.com/repo/OracleLinux/OL9/UEKR7/x86_64/" -> (known after apply)
~ vendor_name = "ORACLE" -> (known after apply)
# (6 unchanged attributes hidden)
The text was updated successfully, but these errors were encountered: