summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/files
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-11-12 13:15:30 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-11-13 10:12:32 -0500
commit2a5352ee4fc3962dabd580f7807adb489e8da965 (patch)
treea1cd89ad6f5205253140888ef47155d2097bae7c /roles/openshift_aws/files
parent7175c6f228f61b883d958c12ba5130f37a0615c4 (diff)
downloadopenshift-2a5352ee4fc3962dabd580f7807adb489e8da965.tar.gz
openshift-2a5352ee4fc3962dabd580f7807adb489e8da965.tar.bz2
openshift-2a5352ee4fc3962dabd580f7807adb489e8da965.tar.xz
openshift-2a5352ee4fc3962dabd580f7807adb489e8da965.zip
Adding instance profile support for node groups.
Diffstat (limited to 'roles/openshift_aws/files')
-rw-r--r--roles/openshift_aws/files/describeinstances.json15
-rw-r--r--roles/openshift_aws/files/trustpolicy.json12
2 files changed, 27 insertions, 0 deletions
diff --git a/roles/openshift_aws/files/describeinstances.json b/roles/openshift_aws/files/describeinstances.json
new file mode 100644
index 000000000..40de49721
--- /dev/null
+++ b/roles/openshift_aws/files/describeinstances.json
@@ -0,0 +1,15 @@
+{
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Action": [
+ "ec2:DescribeInstances"
+ ],
+ "Resource": [
+ "*"
+ ],
+ "Effect": "Allow",
+ "Sid": "Stmt1438195894000"
+ }
+ ]
+}
diff --git a/roles/openshift_aws/files/trustpolicy.json b/roles/openshift_aws/files/trustpolicy.json
new file mode 100644
index 000000000..87c7d7c42
--- /dev/null
+++ b/roles/openshift_aws/files/trustpolicy.json
@@ -0,0 +1,12 @@
+{
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Principal": {
+ "Service": "ec2.amazonaws.com"
+ },
+ "Action": "sts:AssumeRole"
+ }
+ ]
+}