All Questions
11
questions
0
votes
1
answer
95
views
using terraform or aws cli how to enable/tick "Enable load balancing" when creating an application (codedeploy)
In AWS when creating a Codedeploy/application, how to enable the "Enable load balancing" option using the awscli or terraform?
Using the command line I can only select/define the target ...
0
votes
1
answer
417
views
How can I find the list of instance types that do not require ENA and the list of AMIs that support ENA?
I have this Terraform file -
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.23"
}
}
required_version = ">= ...
-1
votes
1
answer
50
views
How to control AWS EC2 live from a web app [closed]
We are building some penetration testing stations (both attack & target) for a hackathon in AWS VPC and I need a way to control the following in a live setting:
VPN connection access: if someone ...
1
vote
1
answer
932
views
Request times out when applying terraform plan on AWS, or describing instances through AWS CLI
I am having an issue accessing the following endpoint from an EC2 instance located in a private subnet.
Architecture is the following:
VPC
Private Subnet 1 (there is a route on 0.0.0.0/0 to Transit ...
0
votes
1
answer
1k
views
How to predefined AWS security group id using terraform
This script works fine for creating EC2 instances:
provider "aws" {
access_key = "ACCESS_KEY"
secret_key = "SECRET-KEY"
region = "us-east-2"
}
resource "aws_instance" "web" {
count = 3
...
1
vote
3
answers
2k
views
How to log into new EC2 instance
Trying to connect using CentOS7
I deployed a couple of EC2 instances using terraform and now and trying to log in.
aws2 ec2-instance-connect send-ssh-public-key --instance-id i-0788274a4861154d44 --...
1
vote
1
answer
495
views
How do I rename a default AWS RDS option group?
I'm trying to bring our AWS account under terraform but it's throwing an error the that RDS Option group name isn't supported it has a colon in it. How do I rename it either via the GUI or CLI so it ...
0
votes
1
answer
791
views
Get all AWS resources via cli with some tag
I've set tag Terraform = true to all resources created by Terraform and now I am wondering is it possible to get all AWS resources (VPC, subnets, ec2 etc) via awscli with this tag? How do you manage ...
6
votes
3
answers
7k
views
Why is terraform erring with 'SignatureDoesNotMatch: Signature expired'?
I started getting the following when running terraform commands:
$ terraform refresh
Error refreshing state: 1 error(s) occurred:
* SignatureDoesNotMatch: Signature expired: 20170226T035111Z is now ...
1
vote
0
answers
1k
views
aws terraform Subnet association
I am creating a VPC via terraform - however i am facing some issues with subnnet association - which means - i have a private subnet across 3 AZ, abc.
it creates me 3 subnets however it does ...
4
votes
1
answer
5k
views
Parameter parsing when using AWS SSM send-command from Terraform
I am using AWS SSM send-command to run a PowerShell script on an AWS instance.
The following commanad works fine in a command shell but when called in Terraform gets an error.
aws ssm send-command ...