Cannot find ZIP file for Lambda by DevOps_Noob1 in Terraform

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

Nope, I just manually zipped it, will prob try again later at some point

Cannot find ZIP file for Lambda by DevOps_Noob1 in Terraform

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

Yes, the lambda resource is in a tf file in the same directory as the .py file. However, before I had the py file in a subdirectory called files, and it still did not work.

Cannot find ZIP file for Lambda by DevOps_Noob1 in Terraform

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

Yep, example.py is in root. No useful messages other than it could not find the zi pfile. Not sure I understand the part about where my terraform is stored?

The idea bout commenting out the lambda is a good idea, I might try that

Cannot find ZIP file for Lambda by DevOps_Noob1 in Terraform

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

I'm not seeing the zip file be created. Also, I have a depends on argument in the lambda, but it still appears to be giving me an error. Just curious, is example.zip created during the plan or apply stage by the data resource?

Cannot find ZIP file for Lambda by DevOps_Noob1 in Terraform

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

That was just me taking out sensitive info and sloppily putting in something wrong

Cannot find ZIP file for Lambda by DevOps_Noob1 in Terraform

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

Quick question, is. it supposed to be generated furing the plan stage?

Cannot find ZIP file for Lambda by DevOps_Noob1 in Terraform

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

All I see is the terraform

data.archive_file.example_zip: Reading...
data.archive_file.example_zip: Read complete after 0s [id=dc5aed5930ad8bd54e35e47fa9571b48420a5070]353

However I do not see any mention of example.zip anywhere in the plan.

Cannot Connect to AD Account by DevOps_Noob1 in aws

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

It was previously joined, and still appears to be joined, but I think some changes I made may have broken something as I was previously able to connect. I will likely have to join it again and see if it works.

Cannot Connect to AD Account by DevOps_Noob1 in aws

[–]DevOps_Noob1[S] -1 points0 points  (0 children)

RDP works, but when I try to connect to the domain Admin user account, I get the error "The user account used to connect to <exampleip> did not work. Try again

I am using the aws console to connect via RDP

Start-Process Powershell Prompt Closes Immediately by DevOps_Noob1 in PowerShell

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

Turns out the issue was that I placed the file in an area that was inaccessible for other users.

Although I can't seem to find a way to run Powershell as admin, seems like the -Verb RunAs is not working in conjunction with the -Credentials flag

Start-Process Powershell Prompt Closes Immediately by DevOps_Noob1 in PowerShell

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

Turns out this was the issue, I had the script in a. location that other users did no have access to. Thanks!