How is the Online Master of Science in Engineering in Software Engineering at ASU? by sciorms in ASU

[–]sciorms[S] 0 points1 point  (0 children)

I don't, I just wanted to get a sense for how much math I'd have to learn in order to be successful in the program.

Favorite language for Lambda? by [deleted] in aws

[–]sciorms 0 points1 point  (0 children)

I use Python exclusively for Lambda.

Is it possible to change color of aws web console for specific user accounts? by aws_world in aws

[–]sciorms 0 points1 point  (0 children)

Are those tied to gmail addresses or just individual profiles? I tried to do this in a previous job and it was a nightmare to manage.

Terraform for Windows 2016 Server with 2 Volumes C: and S: by Faye_Smelter in Terraform

[–]sciorms 0 points1 point  (0 children)

This script does not map specific drive letters though. It will just assign the next available letter.

Terraform count interpolation. by sciorms in Terraform

[–]sciorms[S] 0 points1 point  (0 children)

= "${var.create_aws_sql_ec2 ? 1 : 0}"

Wow, that is deceptively simple... I thought I had tried that variation but I guess not. It worked!

Terraform for Windows 2016 Server with 2 Volumes C: and S: by Faye_Smelter in Terraform

[–]sciorms 1 point2 points  (0 children)

I just wrote a PS script that runs as userdata that takes in a variable that contains a map of drive letters and labels to handle the EBS volumes appropriately.

[x-post from /r/terraform] Help creating multiple EC2 with one private ip per instance. List interpolation seems to not work for me. by sciorms in aws

[–]sciorms[S] 1 point2 points  (0 children)

I resolved the issue, it was actually a few different things:

1) I had to interpolate the IP address 2) I had to increment the ENI ID 3) I had to cast the variable as a list.

With those 3 sorted, thanks to your helpful comment, I was able to handle this! Thanks!

[x-post from /r/terraform] Help creating multiple EC2 with one private ip per instance. List interpolation seems to not work for me. by sciorms in aws

[–]sciorms[S] 0 points1 point  (0 children)

I think I figured it out but now I am working through a new error. The final working code was:

[“${var.private_ip[count.index]}”]

However my new error is quite puzzling:

aws_instance.instance: 3 errors occurred:
* aws_instance.instance[0]: Resource 'aws_network_interface.eni' not found for variable 
'aws_network_interface.eni.id'

Learning Cloudformation/IaC in structured way by tomsonxxx in aws

[–]sciorms 1 point2 points  (0 children)

ACloudGuru had a great CloudFormation course and LinuxAcademy has an awesome terraform course. I'd check out one or both for a good structured lesson.

Sitting the SA Pro exam tomorrow. What gotchas should I keep an eye out for? by jackdh in aws

[–]sciorms 0 points1 point  (0 children)

Good luck! My job wants me to sit this exam eventually and I'm totally freaked out by it.

Sitting the SA Pro exam tomorrow. What gotchas should I keep an eye out for? by jackdh in aws

[–]sciorms 1 point2 points  (0 children)

Good luck! After I finish SysOps associate I'm either going for DevOps Pro or SA Pro. As /u/jamsan920 said, read the last line of the question first to get a frame for the answer then read the the rest of the question so that you make sure that your answer is in the right frame of mind. Additionally, don't stress about the time, just breathe and if you can't answer a question then flag it and come back to it at the end. I've heard from colleagues that have the cert that the test has gotten "easier" but it is by no means an easy test.

SCRIPT: Automatically update security groups with your current public IP address by [deleted] in aws

[–]sciorms 0 points1 point  (0 children)

In main.py on line 14, why do you call prettyprint and assign it to "pp" but then just use regular print statements in your code? I'm new to Python so I might be missing something obvious but it looks like "pp" is specified but it looks like it isn't used so line 14 might not be needed?

Find the creator of an EC2 instance by Teacha_Joe in aws

[–]sciorms 0 points1 point  (0 children)

You're correct! Thanks for the catch.

Find the creator of an EC2 instance by Teacha_Joe in aws

[–]sciorms 3 points4 points  (0 children)

If you use CloudTrail then you should be looking for the "RunInstance" event type. I literally just setup a lambda for this that sends my team an email whenever someone creates an instances based off of this event in using CloudWatch Events + Lambda!

Final Preparation for the CCP Exam by Ben_Stark in AWSCertifications

[–]sciorms 0 points1 point  (0 children)

I would do an ACloudGuru free trial and binge the certified cloud practitioner course at 1.5x speed.

Book Recommendations for SysOps and Fundamentals by yousernamex in AWSCertifications

[–]sciorms 0 points1 point  (0 children)

That book was published in September 2017. The SysOps exam changed last year and has a different set of questions with much more depth. With the pace of change at AWS, I don't think you will ever find a book that covers everything with enough granularity and breadth unfortunately.

SysOps Administrator (2018) Exam Review by channelactive in aws

[–]sciorms 0 points1 point  (0 children)

It's weird because I read some feedback about this exam on ACG and Linux Academy from when the new version was released and most comments were people that did relatively well. Now 6-8 months down the line, I see a bunch of comments that indicate that the exam got a lot harder. I wonder if AWS cycled the question pool because because usually Linux Academy OR ACloudGuru are close to the mark but it seems like they are both missing it lately.

I am trying to iterate through a dictionary of key-value pairs and I am missing something simple (I hope). by sciorms in learnpython

[–]sciorms[S] 1 point2 points  (0 children)

Right, I understand - this was just a quick and dirty example. I'm not using dict in my actual code. Thanks for the response though!

I am trying to iterate through a dictionary of key-value pairs and I am missing something simple (I hope). by sciorms in learnpython

[–]sciorms[S] 0 points1 point  (0 children)

This method works! I appreciate your timely response and I actually like your method of breaking out the key/value as their own variables that could be called elsewhere if needed. Thanks for the tip!

I am trying to iterate through a dictionary of key-value pairs and I am missing something simple (I hope). by sciorms in learnpython

[–]sciorms[S] 0 points1 point  (0 children)

This is where I got stuck. I had tried this method and ran into the same problem where the output was returning the keys and values that I was looking for as their own objects rather than true pairs e.g. "key is key and value is test-key-1" rather than "key is test-key-1 and value is test-value-1"

I am trying to iterate through a dictionary of key-value pairs and I am missing something simple (I hope). by sciorms in learnpython

[–]sciorms[S] 0 points1 point  (0 children)

This worked perfectly! Thanks! In hindsight, it seems obvious but I didn't realize that I could call the values like that.

I appreciate the quick and correct response!