-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
duplicate keys are generated for different configurations #81
Comments
Hi @eugsim1, It will be helpful to troubleshoot further if you can mention the release version and share more details about the issue with supporting logs. |
again trying to run the code with terraform TestAssets_instances.auto.tfvars ╷ Initializing the backend...
╷ ╷ ╷ |
@eugsim1 Have you done any manual changes to the terraform code post executing the automation toolkit. Since, We dont notice the duplicates in the templates which are being used to generate the terraform. I would suggest you to try the following,
|
│ on variables_frankfurt.tf line 2216, in variable "instances":
│ 2169: type = map(object({
│ 2170: availability_domain = string
│ 2171: compartment_id = string
│ 2172: shape = string
│ 2173: source_id = string
│ 2174: source_type = string
│ 2175: vcn_name = string
│ 2176: subnet_id = string
│ 2177: network_compartment_id = string
│ 2178: display_name = optional(string)
│ 2179: assign_public_ip = optional(bool)
│ 2180: boot_volume_size_in_gbs = optional(string)
│ 2181: fault_domain = optional(string)
│ 2182: dedicated_vm_host_id = optional(string)
│ 2183: private_ip = optional(string)
│ 2184: hostname_label = optional(string)
│ 2185: nsg_ids = optional(list(string))
│ 2186: ocpus = optional(string)
│ 2187: memory_in_gbs = optional(number)
│ 2188: capacity_reservation_id = optional(string)
│ 2189: create_is_pv_encryption_in_transit_enabled = optional(bool)
│ 2190: remote_execute = optional(string)
│ 2191: bastion_ip = optional(string)
│ 2192: cloud_init_script = optional(string)
│ 2193: ssh_authorized_keys = optional(string)
│ 2194: backup_policy = optional(string)
│ 2195: policy_compartment_id = optional(string)
│ 2196: network_type = optional(string)
│ 2197: #extended_metadata = optional(string)
│ 2198: skip_source_dest_check = optional(bool)
│ 2199: baseline_ocpu_utilization = optional(string)
│ 2200: #preemptible_instance_config = optional(string)
│ 2201: all_plugins_disabled = optional(bool)
│ 2202: is_management_disabled = optional(bool)
│ 2203: is_monitoring_disabled = optional(bool)
│ 2204: assign_private_dns_record = optional(string)
│ 2205: plugins_details = optional(map(any))
│ 2206: is_live_migration_preferred = optional(bool)
│ 2207: recovery_action = optional(string)
│ 2208: are_legacy_imds_endpoints_disabled = optional(bool)
│ 2209: boot_volume_type = optional(string)
│ 2210: firmware = optional(string)
│ 2211: is_consistent_volume_naming_enabled = optional(bool)
│ 2212: remote_data_volume_type = optional(string)
│ 2213: platform_config = optional(list(map(any)))
│ 2214: launch_options = optional(list(map(any)))
│ 2215: ipxe_script = optional(string)
│ 2216: firmware = optional(string)
│ 2217: preserve_boot_volume = optional(bool)
│ 2218: vlan_id = optional(string)
│ 2219: kms_key_id = optional(string)
│ 2220: vnic_display_name = optional(string)
│ 2221: vnic_defined_tags = optional(map(any))
│ 2222: vnic_freeform_tags = optional(map(any))
│ 2223: defined_tags = optional(map(any))
│ 2224: freeform_tags = optional(map(any))
│ 2225: }))
│
│ Object constructor map keys must be unique.
╵
╷
│ Error: Invalid type specification
│
│ on variables_frankfurt.tf line 2550, in variable "lbr_reserved_ips":
│ 2544: type = map(object({
│ 2545: compartment_id = string
│ 2546: display_name = string
│ 2547: lifetime = string
│ 2548: private_ip_id = optional(string)
│ 2549: public_ip_pool_id = optional(string)
│ 2550: lifetime = optional(string)
│ 2551: defined_tags = optional(map(any))
│ 2552: freeform_tags = optional(map(any))
│ 2553: }))
│
The text was updated successfully, but these errors were encountered: