Skip to content

Instantly share code, notes, and snippets.

View bluethundr's full-sized avatar

Tim Dunphy bluethundr

View GitHub Profile
{
"DBInstances": [
{
"PubliclyAccessible": false,
"MasterUsername": "admin",
"MonitoringInterval": 60,
"LicenseModel": "general-public-license",
"MonitoringRoleArn": "arn:aws:iam::123456789101:role/rds-monitoring-role",
"VpcSecurityGroups": [
{
{
"Images": [
{
"VirtualizationType": "hvm",
"Description": "company-P-RIDD-TRAN05-12-13-2018",
"Hypervisor": "xen",
"ImageId": "ami-000bd263d51e443f2",
"State": "availcompanyle",
"BlockDeviceMappings": [
{
{
"Volumes": [{
"AvailabilityZone": "us-east-1d",
"Attachments": [{
"AttachTime": "2013-09-05T14:47:16.000Z",
"InstanceId": "i-983d5dfb",
"VolumeId": "vol-743d1234",
"State": "attached",
"DeleteOnTermination": false,
"Device": "xvdf"
{
"Volumes": [{
"AvailabilityZone": "us-east-1d",
"Attachments": [{
"AttachTime": "2013-09-05T14:47:16.000Z",
"InstanceId": "i-983d5dfb",
"VolumeId": "vol-743d1234",
"State": "attached",
"DeleteOnTermination": false,
"Device": "xvdf"
This file has been truncated, but you can view the full file.
{
"Reservations": [
{
"Instances": [
{
"Monitoring": {
"State": "disabled"
},
"PublicDnsName": "",
"Platform": "windows",
ec2_private_linux:
provider: nonpod-us-east-1
tag: {'Engagement': '80000', 'Owner': 'Tim Dunphy', 'Name': 'production'}
image: ami-50d8ed47
rename_on_destroy: True
size: c4.large
ssh_username: root
network_interfaces:
- DeviceIndex: 0
SubnetId: subnet-b9273ae0
## I'm trying to rename a service in a salt state file so that it uses the Red Hat name for apache, but it fails
----------
ID: apache
Function: pkg.installed
Result: False
Comment: Error occurred installing package(s). Additional info follows:
errors:
- Running scope as unit run-19945.scope.
[root@salt salt]# salt '*' state.apply
salt.localdomain:
----------
ID: /etc/httpd/extra/httpd-vhosts.conf
Function: file.managed
Result: True
Comment: File /etc/httpd/extra/httpd-vhosts.conf is in the correct state
Started: 19:23:33.175859
Duration: 83.816 ms
Changes:
ec2_private_win_app1_c4.2xlarge:
provider: company-nonpod-us-east-1
image: ami-xxxxxx
size: c4.2xlarge
network_interfaces:
- DeviceIndex: 0
SubnetId: subnet-xxxxx
SecurityGroupId: sg-xxxxxx
PrivateIpAddresses:
- Primary: True
ec2_private_win_app1_c4.2xlarge:
provider: company-nonpod-us-east-1
image: ami-xxxxxx
size: c4.2xlarge
network_interfaces:
DeviceIndex: 0
SubnetId: subnet-xxxxx
SecurityGroupId: sg-xxxxxx
PrivateIpAddresses:
- Primary: True