Comments (4)
Digging into the CloudWatch logs, seems like the Powershell scripts are failing:
At C:\AWSQuickstart\Module-AD\Module-AD.psm1:1455 char:9
-
Import-DscResource -ModuleName 'AuditPolicyDsc'
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Could not find the module 'AuditPolicyDsc'.
At C:\AWSQuickstart\Module-AD\Module-AD.psm1:2040 char:9
-
Import-DscResource -ModuleName 'AuditPolicyDsc'
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Could not find the module 'AuditPolicyDsc'.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ModuleNotFoundDuringParse
Import-Module : The specified module 'C:\AWSQuickstart\Module-AD\Module-AD.psm1' was not loaded because no valid
module file was found in any module directory.
At C:\ProgramData\Amazon\SSM\InstanceData\i-0de7f58f9c3c2f3e2\document\orchestration\f3fa5751-66f1-4f7e-892f-c4009df51b
2a\awsrunPowerShellScript\0.awsrunPowerShellScript_script.ps1:2 char:5
-
Import-Module -Name 'C:\AWSQuickstart\Module-AD\Module-AD.psm1' - ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (C:\AWSQuickstar...\Module-AD.psm1:String) [Import-Module], FileNot
FoundException - FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
- CategoryInfo : ResourceUnavailable: (C:\AWSQuickstar...\Module-AD.psm1:String) [Import-Module], FileNot
New-VolumeFromRawDisk : The term 'New-VolumeFromRawDisk' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At C:\ProgramData\Amazon\SSM\InstanceData\i-0de7f58f9c3c2f3e2\document\orchestration\f3fa5751-66f1-4f7e-892f-c4009df51b
2a\awsrunPowerShellScript\0.awsrunPowerShellScript_script.ps1:7 char:1
- New-VolumeFromRawDisk
-
+ CategoryInfo : ObjectNotFound: (New-VolumeFromRawDisk:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Invoke-PreConfig : The term 'Invoke-PreConfig' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\ProgramData\Amazon\SSM\InstanceData\i-0de7f58f9c3c2f3e2\document\orchestration\f3fa5751-66f1-4f7e-892f-c4009df51b
2a\awsrunPowerShellScript\0.awsrunPowerShellScript_script.ps1:8 char:1
- Invoke-PreConfig
-
+ CategoryInfo : ObjectNotFound: (Invoke-PreConfig:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Invoke-LcmConfig : The term 'Invoke-LcmConfig' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\ProgramData\Amazon\SSM\InstanceData\i-0de7f58f9c3c2f3e2\document\orchestration\f3fa5751-66f1-4f7e-892f-c4009df51b
2a\awsrunPowerShellScript\0.awsrunPowerShellScript_script.ps1:9 char:1
- Invoke-LcmConfig
-
+ CategoryInfo : ObjectNotFound: (Invoke-LcmConfig:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
from learn-cantrill-io-labs.
Hi @acantril,
Issue resolved.
A missing "AuditPolicyDSC" module dependency needs to be added onto
https://learn-cantrill-labs.s3.amazonaws.com/aws-hybrid-activedirectory/03_HYBRIDDIR-NESTED-ONPREM-AD-v2.yaml.
Snippet below:
$Modules = @(
@{
Name = 'NetworkingDsc'
Version = '8.2.0'
},
@{
Name = 'ActiveDirectoryDsc'
Version = '6.0.1'
},
@{
Name = 'ComputerManagementDsc'
Version = '8.4.0'
},
@{
Name = 'DnsServerDsc'
Version = '3.0.0'
},
@{
Name = 'AuditPolicyDsc'
Version = '1.4.0.0'
}
)
from learn-cantrill-io-labs.
Hi
This demo is broken
i'm working on replacing, but it says in the course not to do it.
from learn-cantrill-io-labs.
Thank you @acantril, much appreciated!
from learn-cantrill-io-labs.
Related Issues (20)
- WebIDF CloudFormation quicklink, failing to deploy HOT 4
- Instructions do not match ASL code
- mysql command not found HOT 1
- [Macie Lab] URL pointing to Sydney region HOT 1
- colliding group is in the working tree
- Pet-Cuddle-O-Tron - STAGE 3B ASL code does not match video HOT 1
- CloudFront caching causes this demo to not work (at least for me) HOT 2
- Project proposal submitted
- This typo cause failure in importing data to MySQL HOT 1
- Rate limit issue from Docker Hub in "catpipeline" Demo HOT 6
- -author 👍 HOT 1
- On-Prem SSM Agent installation FAIL HOT 1
- Pet Cuddle-o-ttron lab Stage 1 Issue with SNS origination number
- AWS SSM LAB2, Stage 3 - needs review for Windows AMI/password retrieval
- Pet-Cuddle-O-Tron | CORS issue between S3 and API gateway HOT 8
- MySQL RDS - Aurora compatibility issue HOT 3
- VPC - EFS - lambda lab instance B not deploying successfully HOT 1
- CatPipeline - STAGE4 - Deploy our Container w/ CodeDeploy - PART1 HOT 2
- Videos are marked private? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn-cantrill-io-labs.