We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TASK [aws.infra : Create infrastructure using Terraform] ********************************************************************************************************************************************************** fatal: [localhost]: FAILED! => {"changed": false, "command": "/usr/local/bin/terraform apply -no-color -input=false -auto-approve=true -lock=true /tmp/tmpj4IPYh.tfplan", "msg": "Failure when executing Terraform command. Exited 1.\nstdout: aws_vpc.main: Creating...\n arn: \"\" => \"<computed>\"\n assign_generated_ipv6_cidr_block: \"\" => \"false\"\n cidr_block: \"\" => \"10.0.0.0/16\"\n default_network_acl_id: \"\" => \"<computed>\"\n default_route_table_id: \"\" => \"<computed>\"\n default_security_group_id: \"\" => \"<computed>\"\n dhcp_options_id: \"\" => \"<computed>\"\n enable_classiclink: \"\" => \"<computed>\"\n enable_classiclink_dns_support: \"\" => \"<computed>\"\n enable_dns_hostnames: \"\" => \"true\"\n enable_dns_support: \"\" => \"true\"\n instance_tenancy: \"\" => \"default\"\n ipv6_association_id: \"\" => \"<computed>\"\n ipv6_cidr_block: \"\" => \"<computed>\"\n main_route_table_id: \"\" => \"<computed>\"\n owner_id: \"\" => \"<computed>\"\n tags.%: \"\" => \"1\"\n tags.Name: \"\" => \"tosc.redhatgov.io-openshift-vpc\"\naws_vpc.main: Creation complete after 4s (ID: vpc-0d5afb662794c4c7a)\naws_internet_gateway.public: Creating...\n owner_id: \"\" => \"<computed>\"\n tags.%: \"0\" => \"1\"\n tags.Name: \"\" => \"tosc.redhatgov.io-openshift-igw\"\n vpc_id: \"\" => \"vpc-0d5afb662794c4c7a\"\naws_subnet.public: Creating...\n arn: \"\" => \"<computed>\"\n assign_ipv6_address_on_creation: \"\" => \"false\"\n availability_zone: \"\" => \"<computed>\"\n availability_zone_id: \"\" => \"<computed>\"\n cidr_block: \"\" => \"10.0.2.0/24\"\n ipv6_cidr_block: \"\" => \"<computed>\"\n ipv6_cidr_block_association_id: \"\" => \"<computed>\"\n map_public_ip_on_launch: \"\" => \"true\"\n owner_id: \"\" => \"<computed>\"\n tags.%: \"\" => \"1\"\n tags.Name: \"\" => \"tosc.redhatgov.io-openshift-public-subnet\"\n vpc_id: \"\" => \"vpc-0d5afb662794c4c7a\"\naws_security_group.ose-sg: Creating...\n arn: \"\" => \"<computed>\"\n description: \"\" => \"Managed by Terraform\"\n egress.#: \"\" => \"1\"\n egress.482069346.cidr_blocks.#: \"\" => \"1\"\n egress.482069346.cidr_blocks.0: \"\" => \"0.0.0.0/0\"\n egress.482069346.description: \"\" => \"\"\n egress.482069346.from_port: \"\" => \"0\"\n egress.482069346.ipv6_cidr_blocks.#: \"\" => \"0\"\n egress.482069346.prefix_list_ids.#: \"\" => \"0\"\n egress.482069346.protocol: \"\" => \"-1\"\n egress.482069346.security_groups.#: \"\" => \"0\"\n egress.482069346.self: \"\" => \"false\"\n egress.482069346.to_port: \"\" => \"0\"\n ingress.#: \"\" => \"1\"\n ingress.482069346.cidr_blocks.#: \"\" => \"1\"\n ingress.482069346.cidr_blocks.0: \"\" => \"0.0.0.0/0\"\n ingress.482069346.description: \"\" => \"\"\n ingress.482069346.from_port: \"\" => \"0\"\n ingress.482069346.ipv6_cidr_blocks.#: \"\" => \"0\"\n ingress.482069346.prefix_list_ids.#: \"\" => \"0\"\n ingress.482069346.protocol: \"\" => \"-1\"\n ingress.482069346.security_groups.#: \"\" => \"0\"\n ingress.482069346.self: \"\" => \"false\"\n ingress.482069346.to_port: \"\" => \"0\"\n name: \"\" => \"ose-sg\"\n owner_id: \"\" => \"<computed>\"\n revoke_rules_on_delete: \"\" => \"false\"\n vpc_id: \"\" => \"vpc-0d5afb662794c4c7a\"\naws_internet_gateway.public: Creation complete after 2s (ID: igw-0791896b958d7777c)\naws_route_table.public: Creating...\n owner_id: \"\" => \"<computed>\"\n propagating_vgws.#: \"\" => \"<computed>\"\n route.#: \"\" => \"1\"\n route.3091792144.cidr_block: \"\" => \"0.0.0.0/0\"\n route.3091792144.egress_only_gateway_id: \"\" => \"\"\n route.3091792144.gateway_id: \"\" => \"igw-0791896b958d7777c\"\n route.3091792144.instance_id: \"\" => \"\"\n route.3091792144.ipv6_cidr_block: \"\" => \"\"\n route.3091792144.nat_gateway_id: \"\" => \"\"\n route.3091792144.network_interface_id: \"\" => \"\"\n route.3091792144.transit_gateway_id: \"\" => \"\"\n route.3091792144.vpc_peering_connection_id: \"\" => \"\"\n tags.%: \"\" => \"1\"\n tags.Name: \"\" => \"tosc.redhatgov.io-openshift-public-rt\"\n vpc_id: \"\" => \"vpc-0d5afb662794c4c7a\"\naws_subnet.public: Creation complete after 2s (ID: subnet-021e55765b854f643)\naws_security_group.ose-sg: Creation complete after 3s (ID: sg-05ac93271edb3f733)\naws_instance.ose-master: Creating...\n ami: \"\" => \"ami-000db10762d0c4c05\"\n arn: \"\" => \"<computed>\"\n associate_public_ip_address: \"\" => \"<computed>\"\n availability_zone: \"\" => \"<computed>\"\n cpu_core_count: \"\" => \"<computed>\"\n cpu_threads_per_core: \"\" => \"<computed>\"\n ebs_block_device.#: \"\" => \"1\"\n ebs_block_device.3905984573.delete_on_termination: \"\" => \"true\"\n ebs_block_device.3905984573.device_name: \"\" => \"/dev/xvdb\"\n ebs_block_device.3905984573.encrypted: \"\" => \"<computed>\"\n ebs_block_device.3905984573.iops: \"\" => \"\"\n ebs_block_device.3905984573.kms_key_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.snapshot_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.volume_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.volume_size: \"\" => \"50\"\n ebs_block_device.3905984573.volume_type: \"\" => \"gp2\"\n ephemeral_block_device.#: \"\" => \"<computed>\"\n get_password_data: \"\" => \"false\"\n host_id: \"\" => \"<computed>\"\n instance_state: \"\" => \"<computed>\"\n instance_type: \"\" => \"m4.2xlarge\"\n ipv6_address_count: \"\" => \"<computed>\"\n ipv6_addresses.#: \"\" => \"<computed>\"\n key_name: \"\" => \"tosc\"\n network_interface.#: \"\" => \"<computed>\"\n network_interface_id: \"\" => \"<computed>\"\n password_data: \"\" => \"<computed>\"\n placement_group: \"\" => \"<computed>\"\n primary_network_interface_id: \"\" => \"<computed>\"\n private_dns: \"\" => \"<computed>\"\n private_ip: \"\" => \"<computed>\"\n public_dns: \"\" => \"<computed>\"\n public_ip: \"\" => \"<computed>\"\n root_block_device.#: \"\" => \"1\"\n root_block_device.0.delete_on_termination: \"\" => \"true\"\n root_block_device.0.encrypted: \"\" => \"<computed>\"\n root_block_device.0.kms_key_id: \"\" => \"<computed>\"\n root_block_device.0.volume_id: \"\" => \"<computed>\"\n root_block_device.0.volume_size: \"\" => \"72\"\n root_block_device.0.volume_type: \"\" => \"gp2\"\n security_groups.#: \"\" => \"1\"\n security_groups.1234085284: \"\" => \"sg-05ac93271edb3f733\"\n source_dest_check: \"\" => \"true\"\n subnet_id: \"\" => \"subnet-021e55765b854f643\"\n tags.%: \"\" => \"4\"\n tags.Name: \"\" => \"master\"\n tags.kubernetes.io/cluster/tosc: \"\" => \"bdsa\"\n tags.role: \"\" => \"masters\"\n tags.sshUser: \"\" => \"ec2-user\"\n tenancy: \"\" => \"<computed>\"\n user_data: \"\" => \"a003292bc87636bf04c9acb8373c2781cc48a55a\"\n volume_tags.%: \"\" => \"1\"\n volume_tags.kubernetes.io/cluster/tosc: \"\" => \"bdsa\"\n vpc_security_group_ids.#: \"\" => \"<computed>\"\naws_instance.ose-node[0]: Creating...\n ami: \"\" => \"ami-000db10762d0c4c05\"\n arn: \"\" => \"<computed>\"\n associate_public_ip_address: \"\" => \"<computed>\"\n availability_zone: \"\" => \"<computed>\"\n cpu_core_count: \"\" => \"<computed>\"\n cpu_threads_per_core: \"\" => \"<computed>\"\n ebs_block_device.#: \"\" => \"1\"\n ebs_block_device.3905984573.delete_on_termination: \"\" => \"true\"\n ebs_block_device.3905984573.device_name: \"\" => \"/dev/xvdb\"\n ebs_block_device.3905984573.encrypted: \"\" => \"<computed>\"\n ebs_block_device.3905984573.iops: \"\" => \"\"\n ebs_block_device.3905984573.kms_key_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.snapshot_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.volume_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.volume_size: \"\" => \"50\"\n ebs_block_device.3905984573.volume_type: \"\" => \"gp2\"\n ephemeral_block_device.#: \"\" => \"<computed>\"\n get_password_data: \"\" => \"false\"\n host_id: \"\" => \"<computed>\"\n instance_state: \"\" => \"<computed>\"\n instance_type: \"\" => \"m4.xlarge\"\n ipv6_address_count: \"\" => \"<computed>\"\n ipv6_addresses.#: \"\" => \"<computed>\"\n key_name: \"\" => \"tosc\"\n network_interface.#: \"\" => \"<computed>\"\n network_interface_id: \"\" => \"<computed>\"\n password_data: \"\" => \"<computed>\"\n placement_group: \"\" => \"<computed>\"\n primary_network_interface_id: \"\" => \"<computed>\"\n private_dns: \"\" => \"<computed>\"\n private_ip: \"\" => \"<computed>\"\n public_dns: \"\" => \"<computed>\"\n public_ip: \"\" => \"<computed>\"\n root_block_device.#: \"\" => \"1\"\n root_block_device.0.delete_on_termination: \"\" => \"true\"\n root_block_device.0.encrypted: \"\" => \"<computed>\"\n root_block_device.0.kms_key_id: \"\" => \"<computed>\"\n root_block_device.0.volume_id: \"\" => \"<computed>\"\n root_block_device.0.volume_size: \"\" => \"72\"\n root_block_device.0.volume_type: \"\" => \"gp2\"\n security_groups.#: \"\" => \"1\"\n security_groups.1234085284: \"\" => \"sg-05ac93271edb3f733\"\n source_dest_check: \"\" => \"true\"\n subnet_id: \"\" => \"subnet-021e55765b854f643\"\n tags.%: \"\" => \"4\"\n tags.Name: \"\" => \"node-0\"\n tags.kubernetes.io/cluster/tosc: \"\" => \"bdsa\"\n tags.role: \"\" => \"nodes\"\n tags.sshUser: \"\" => \"ec2-user\"\n tenancy: \"\" => \"<computed>\"\n user_data: \"\" => \"a003292bc87636bf04c9acb8373c2781cc48a55a\"\n volume_tags.%: \"\" => \"1\"\n volume_tags.kubernetes.io/cluster/tosc: \"\" => \"bdsa\"\n vpc_security_group_ids.#: \"\" => \"<computed>\"\naws_instance.ose-node[1]: Creating...\n ami: \"\" => \"ami-000db10762d0c4c05\"\n arn: \"\" => \"<computed>\"\n associate_public_ip_address: \"\" => \"<computed>\"\n availability_zone: \"\" => \"<computed>\"\n cpu_core_count: \"\" => \"<computed>\"\n cpu_threads_per_core: \"\" => \"<computed>\"\n ebs_block_device.#: \"\" => \"1\"\n ebs_block_device.3905984573.delete_on_termination: \"\" => \"true\"\n ebs_block_device.3905984573.device_name: \"\" => \"/dev/xvdb\"\n ebs_block_device.3905984573.encrypted: \"\" => \"<computed>\"\n ebs_block_device.3905984573.iops: \"\" => \"\"\n ebs_block_device.3905984573.kms_key_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.snapshot_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.volume_id: \"\" => \"<computed>\"\n ebs_block_device.3905984573.volume_size: \"\" => \"50\"\n ebs_block_device.3905984573.volume_type: \"\" => \"gp2\"\n ephemeral_block_device.#: \"\" => \"<computed>\"\n get_password_data: \"\" => \"false\"\n host_id: \"\" => \"<computed>\"\n instance_state: \"\" => \"<computed>\"\n instance_type: \"\" => \"m4.xlarge\"\n ipv6_address_count: \"\" => \"<computed>\"\n ipv6_addresses.#: \"\" => \"<computed>\"\n key_name: \"\" => \"tosc\"\n network_interface.#: \"\" => \"<computed>\"\n network_interface_id: \"\" => \"<computed>\"\n password_data: \"\" => \"<computed>\"\n placement_group: \"\" => \"<computed>\"\n primary_network_interface_id: \"\" => \"<computed>\"\n private_dns: \"\" => \"<computed>\"\n private_ip: \"\" => \"<computed>\"\n public_dns: \"\" => \"<computed>\"\n public_ip: \"\" => \"<computed>\"\n root_block_device.#: \"\" => \"1\"\n root_block_device.0.delete_on_termination: \"\" => \"true\"\n root_block_device.0.encrypted: \"\" => \"<computed>\"\n root_block_device.0.kms_key_id: \"\" => \"<computed>\"\n root_block_device.0.volume_id: \"\" => \"<computed>\"\n root_block_device.0.volume_size: \"\" => \"72\"\n root_block_device.0.volume_type: \"\" => \"gp2\"\n security_groups.#: \"\" => \"1\"\n security_groups.1234085284: \"\" => \"sg-05ac93271edb3f733\"\n source_dest_check: \"\" => \"true\"\n subnet_id: \"\" => \"subnet-021e55765b854f643\"\n tags.%: \"\" => \"4\"\n tags.Name: \"\" => \"node-1\"\n tags.kubernetes.io/cluster/tosc: \"\" => \"bdsa\"\n tags.role: \"\" => \"nodes\"\n tags.sshUser: \"\" => \"ec2-user\"\n tenancy: \"\" => \"<computed>\"\n user_data: \"\" => \"a003292bc87636bf04c9acb8373c2781cc48a55a\"\n volume_tags.%: \"\" => \"1\"\n volume_tags.kubernetes.io/cluster/tosc: \"\" => \"bdsa\"\n vpc_security_group_ids.#: \"\" => \"<computed>\"\naws_route_table.public: Creation complete after 2s (ID: rtb-0eef265b807d7bf71)\naws_route_table_association.public: Creating...\n route_table_id: \"\" => \"rtb-0eef265b807d7bf71\"\n subnet_id: \"\" => \"subnet-021e55765b854f643\"\naws_route_table_association.public: Creation complete after 0s (ID: rtbassoc-06b81a45a85b1a04d)\naws_instance.ose-node.0: Still creating... (10s elapsed)\naws_instance.ose-master: Still creating... (10s elapsed)\naws_instance.ose-node.1: Still creating... (10s elapsed)\naws_instance.ose-master: Provisioning with 'file'...\naws_instance.ose-master: Still creating... (20s elapsed)\naws_instance.ose-node.0: Still creating... (20s elapsed)\naws_instance.ose-node.1: Still creating... (20s elapsed)\naws_instance.ose-node[1]: Provisioning with 'file'...\naws_instance.ose-node[0]: Provisioning with 'file'...\naws_instance.ose-master: Still creating... (30s elapsed)\naws_instance.ose-node.0: Still creating... (30s elapsed)\naws_instance.ose-node.1: Still creating... (30s elapsed)\naws_instance.ose-master: Still creating... (40s elapsed)\naws_instance.ose-node.0: Still creating... (40s elapsed)\naws_instance.ose-node.1: Still creating... (40s elapsed)\naws_instance.ose-node.0: Still creating... (50s elapsed)\naws_instance.ose-master: Still creating... (50s elapsed)\naws_instance.ose-node.1: Still creating... (50s elapsed)\naws_instance.ose-node.0: Still creating... (1m0s elapsed)\naws_instance.ose-master: Still creating... (1m0s elapsed)\naws_instance.ose-node.1: Still creating... (1m0s elapsed)\naws_instance.ose-master: Still creating... (1m10s elapsed)\naws_instance.ose-node.0: Still creating... (1m10s elapsed)\naws_instance.ose-node.1: Still creating... (1m10s elapsed)\naws_instance.ose-node.0: Still creating... (1m20s elapsed)\naws_instance.ose-master: Still creating... (1m20s elapsed)\naws_instance.ose-node.1: Still creating... (1m20s elapsed)\naws_instance.ose-master: Still creating... (1m30s elapsed)\naws_instance.ose-node.0: Still creating... (1m30s elapsed)\naws_instance.ose-node.1: Still creating... (1m30s elapsed)\naws_instance.ose-master: Still creating... (1m40s elapsed)\naws_instance.ose-node.0: Still creating... (1m40s elapsed)\naws_instance.ose-node.1: Still creating... (1m40s elapsed)\naws_instance.ose-master: Still creating... (1m50s elapsed)\naws_instance.ose-node.0: Still creating... (1m50s elapsed)\naws_instance.ose-node.1: Still creating... (1m50s elapsed)\naws_instance.ose-node.0: Still creating... (2m0s elapsed)\naws_instance.ose-master: Still creating... (2m0s elapsed)\naws_instance.ose-node.1: Still creating... (2m0s elapsed)\naws_instance.ose-node.0: Still creating... (2m10s elapsed)\naws_instance.ose-master: Still creating... (2m10s elapsed)\naws_instance.ose-node.1: Still creating... (2m10s elapsed)\naws_instance.ose-master: Still creating... (2m20s elapsed)\naws_instance.ose-node.0: Still creating... (2m20s elapsed)\naws_instance.ose-node.1: Still creating... (2m20s elapsed)\naws_instance.ose-node.0: Still creating... (2m30s elapsed)\naws_instance.ose-node.1: Still creating... (2m30s elapsed)\naws_instance.ose-master: Still creating... (2m30s elapsed)\naws_instance.ose-node.1: Still creating... (2m40s elapsed)\naws_instance.ose-node.0: Still creating... (2m40s elapsed)\naws_instance.ose-master: Still creating... (2m40s elapsed)\naws_instance.ose-node.1: Still creating... (2m50s elapsed)\naws_instance.ose-node.0: Still creating... (2m50s elapsed)\naws_instance.ose-master: Still creating... (2m50s elapsed)\naws_instance.ose-node.1: Still creating... (3m0s elapsed)\naws_instance.ose-master: Still creating... (3m0s elapsed)\naws_instance.ose-node.0: Still creating... (3m0s elapsed)\naws_instance.ose-node.1: Still creating... (3m10s elapsed)\naws_instance.ose-node.0: Still creating... (3m10s elapsed)\naws_instance.ose-master: Still creating... (3m10s elapsed)\naws_instance.ose-node.1: Still creating... (3m20s elapsed)\naws_instance.ose-master: Still creating... (3m20s elapsed)\naws_instance.ose-node.0: Still creating... (3m20s elapsed)\naws_instance.ose-node.1: Still creating... (3m30s elapsed)\naws_instance.ose-master: Still creating... (3m30s elapsed)\naws_instance.ose-node.0: Still creating... (3m30s elapsed)\naws_instance.ose-node.0: Still creating... (3m40s elapsed)\naws_instance.ose-master: Still creating... (3m40s elapsed)\naws_instance.ose-node.1: Still creating... (3m40s elapsed)\naws_instance.ose-node.1: Still creating... (3m50s elapsed)\naws_instance.ose-node.0: Still creating... (3m50s elapsed)\naws_instance.ose-master: Still creating... (3m50s elapsed)\naws_instance.ose-node.0: Still creating... (4m0s elapsed)\naws_instance.ose-master: Still creating... (4m0s elapsed)\naws_instance.ose-node.1: Still creating... (4m0s elapsed)\naws_instance.ose-node.0: Still creating... (4m10s elapsed)\naws_instance.ose-master: Still creating... (4m10s elapsed)\naws_instance.ose-node.1: Still creating... (4m10s elapsed)\naws_instance.ose-node.0: Still creating... (4m20s elapsed)\naws_instance.ose-node.1: Still creating... (4m20s elapsed)\naws_instance.ose-master: Still creating... (4m20s elapsed)\naws_instance.ose-master: Still creating... (4m30s elapsed)\naws_instance.ose-node.1: Still creating... (4m30s elapsed)\naws_instance.ose-node.0: Still creating... (4m30s elapsed)\naws_instance.ose-master: Still creating... (4m40s elapsed)\naws_instance.ose-node.1: Still creating... (4m40s elapsed)\naws_instance.ose-node.0: Still creating... (4m40s elapsed)\naws_instance.ose-node.1: Still creating... (4m50s elapsed)\naws_instance.ose-node.0: Still creating... (4m50s elapsed)\naws_instance.ose-master: Still creating... (4m50s elapsed)\naws_instance.ose-master: Still creating... (5m0s elapsed)\naws_instance.ose-node.0: Still creating... (5m0s elapsed)\naws_instance.ose-node.1: Still creating... (5m0s elapsed)\naws_instance.ose-node.1: Still creating... (5m10s elapsed)\naws_instance.ose-master: Still creating... (5m10s elapsed)\naws_instance.ose-node.0: Still creating... (5m10s elapsed)\naws_instance.ose-node.1: Still creating... (5m20s elapsed)\naws_instance.ose-node.0: Still creating... (5m20s elapsed)\naws_instance.ose-master: Still creating... (5m20s elapsed)\n\nstderr: \nError: Error applying plan:\n\n3 error(s) occurred:\n\n* aws_instance.ose-node[1]: timeout - last error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\n* aws_instance.ose-node[0]: timeout - last error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\n* aws_instance.ose-master: timeout - last error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\n\nTerraform does not automatically rollback in the face of errors.\nInstead, your Terraform state file has been partially updated with\nany resources that successfully completed. Please address the error\nabove and apply again to incrementally change your infrastructure.\n\n\n"}
The text was updated successfully, but these errors were encountered:
Rodrique, do you still want to fix this?
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: