forked from p15670423/monkey
Add AWS troubleshooting message
This commit is contained in:
parent
48ae805458
commit
dfb51cc962
|
@ -326,19 +326,28 @@ class RunMonkeyPageComponent extends AuthComponent {
|
||||||
Update AWS details
|
Update AWS details
|
||||||
{ this.state.awsUpdateClicked ? <Icon name="refresh" className="text-success" style={{'marginLeft': '5px'}}/> : null }
|
{ this.state.awsUpdateClicked ? <Icon name="refresh" className="text-success" style={{'marginLeft': '5px'}}/> : null }
|
||||||
</Button>
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{
|
{
|
||||||
this.state.awsUpdateFailed ?
|
this.state.awsUpdateFailed ?
|
||||||
<div className="alert alert-danger" role="alert">Authentication failed. Bad credentials.</div>
|
<div className="col-sm-8 col-sm-offset-2" style={{'fontSize': '1.2em'}}>
|
||||||
|
<p className="alert alert-danger" role="alert">Authentication failed.</p>
|
||||||
|
<p className="alert alert-info">
|
||||||
|
<i className="glyphicon glyphicon-info-sign" style={{'marginRight': '5px'}}/>
|
||||||
|
In order to remotely run commands on AWS EC2 instances, please make sure you have
|
||||||
|
the <a href="https://docs.aws.amazon.com/console/ec2/run-command/prereqs" target="_blank">prerequisites</a> and if the
|
||||||
|
instances don't show up, check the
|
||||||
|
AWS <a href="https://docs.aws.amazon.com/console/ec2/run-command/troubleshooting" target="_blank">troubleshooting guide</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
:
|
:
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue