hi cloud champ, good tutorial for terraform, but i have one question for it, if i want to attached current SG to my instance on my aws account , what should i write on terraform ? can you provide some guideline or explanation. thank you
Hi How to create 4vm and 4 security groups and that 4 vm names will be passed from variables and security group name should be vm name and should attach the same to vm I have done this but got issue from count index
Hi, I did exactly the same thing you posted and it keeps bringing this error message : Error: creating EC2 Instance: InvalidParameterValue: Value () for parameter groupId is invalid. The value cannot be empty │ status code: 400, request id: 2867743a-2b50-4b71-a503-38fee5abf81c
I figured it out, his code in the notes is not the same in the video. In the video he has security_groups = ["aws_security_group.TF_SG.name"] under his ec2 resource, but the code in the notes reads as security_groups = [aws_security_group.TF_SG.name]. No quotes. I removed the quotes and mine worked no problem.
Hello Cloud Champ, your videos saved me a lot in my career path. Thank you for your helpful videos. From Vietnam with respects!
Nothing makes me more happy than helping folks :) Please share and subscribe
Awesome Terraform tutorial
You are a lifesaver 👍
Good and Quick, Excellent !!
Glad you like it!
Thanks for sharing. Need more videos
Thanks for the support!
Thanks for the video...
Welcome sulthan 😃
It worked like a charm, thanks !
So glad it helped 😊
hi cloud champ, good tutorial for terraform, but i have one question for it, if i want to attached current SG to my instance on my aws account , what should i write on terraform ? can you provide some guideline or explanation.
thank you
If it is already created just enter the name of the security group you want to attach
Thank you for making this video 😘
My pleasure 😊
Awesome videos
Thank you. Please share and subscribe :)
Thank you so much , this was very helpful
Happy to help 😀 Do subscribe and support
Great tutorial this really helped, you just got a new subscriber!
So happy it helped and Thank you so much for the subscribe 😀
Can share for multi account in cross region for centalised deployment
if we create instance with default security group can we able connect to the server ? , in my case I m not able connect It's showing Connection time.
You should be able to connect no matter what security group if it has port 22 with your IP enabled in inbound rules 👍🏻
👍🏽
Thank you 😊
Hi How to create 4vm and 4 security groups and that 4 vm names will be passed from variables and security group name should be vm name and should attach the same to vm
I have done this but got issue from count index
You can use for each or refer to terraform documentation
@@cloudchamp Thanks for the response i have solved using each.key
Hi bro can you create a vedio how we can create public key and on genrate it download to our download from terraform bro
How to create AWS Keypair using Terraform and attach to EC2 instance | Key to SSH in EC2 server
th-cam.com/video/lJbf0J9rRzE/w-d-xo.html
next video pls
Yes soon...
What is difference in from-port and to-port?
You can choose a range of ports so from port 0 to port 3000 means everything in between or just 22 to 22
nit. @2:13 exclamation mark -> double quote
it should be in place replacment why it terminate ec2
Hi, I did exactly the same thing you posted and it keeps bringing this error message : Error: creating EC2 Instance: InvalidParameterValue: Value () for parameter groupId is invalid. The value cannot be empty
│ status code: 400, request id: 2867743a-2b50-4b71-a503-38fee5abf81c
same problem
I figured it out, his code in the notes is not the same in the video.
In the video he has security_groups = ["aws_security_group.TF_SG.name"] under his ec2 resource, but the code in the notes reads as security_groups = [aws_security_group.TF_SG.name]. No quotes.
I removed the quotes and mine worked no problem.
That's right use name argument for security group and not id
@@mattbistany7490 you saved me with double quotes "" thing
Even with “” added I get the error mentioned in this comment! Any advice?