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
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 and Provider Version
Affected Resource(s)
Deploying an instance with Windows operating system and Server 2019 Standard os version.
Terraform Configuration Files
module"instance" {
source="oracle-terraform-modules/compute-instance/oci"instance_count=1# how many instances do you want?ad_number=1# AD number to provision instances. If null, instances are provisionned in a rolling manner starting with AD1compartment_ocid=var.compartment_idinstance_display_name=var.instance_display_namesource_ocid=var.image_idsubnet_ocids=[var.subnet_id]
source_type=var.source_typeinstance_flex_memory_in_gbs=lookup(var.shape, "memory", 2) # only used if shape is Flex typeinstance_flex_ocpus=lookup(var.shape, "ocpus", 1) # only used if shape is Flex typebaseline_ocpu_utilization=var.baseline_ocpu_utilizationcloud_agent_plugins={
autonomous_linux ="ENABLED"
bastion ="ENABLED"
vulnerability_scanning ="ENABLED"
osms ="ENABLED"
management ="DISABLED"
custom_logs ="ENABLED"
run_command ="ENABLED"
monitoring ="ENABLED"
block_volume_mgmt ="DISABLED"
}
public_ip=var.public_ip# NONE, RESERVED or EPHEMERALssh_public_keys=var.ssh_public_keyblock_storage_sizes_in_gbs=[lookup(var.shape, "boot_volume_size", 50)]
shape=lookup(var.shape, "shape", "")
instance_state=var.instance_state# RUNNING or STOPPEDboot_volume_backup_policy=var.boot_volume_backup_policy# disabled, gold, silver or bronze
}
Error: 400-InvalidParameter, Shape VM.Standard.E4.Flex is not valid for image ocid1.image.oc1.eu-frankfurt-1.aaaaaaaae6rnjsal6ldvpperzizrkfybacfvz7somb3fr7463kilcgfwaraa.
Expected Behavior
I am able to deploy the selected shape
Actual Behavior
I am unable to select anything other than the default shape, I have tried several options and the all return "Shape is not valid for image"
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered:
Community Note
Terraform Version and Provider Version
Affected Resource(s)
Deploying an instance with Windows operating system and Server 2019 Standard os version.
Terraform Configuration Files
and config:
Debug Output
Panic Output
Expected Behavior
I am able to deploy the selected shape
Actual Behavior
I am unable to select anything other than the default shape, I have tried several options and the all return "Shape is not valid for image"
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: