File tree Expand file tree Collapse file tree 6 files changed +67
-0
lines changed Expand file tree Collapse file tree 6 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1
1
REPO aws-iam
2
+ VERSION_HASH beb0ea564843
2
3
LOAD iam-policy.yaml base.yaml common.yaml iam-role.yaml iam-user.yaml
3
4
RESOURCES common.js iam-user-sync.js iam-policy-sync.js iam-role-sync.js base.js
Original file line number Diff line number Diff line change @@ -2,4 +2,6 @@ namespace: aws-iam
2
2
3
3
base :
4
4
defines : module
5
+ metadata :
6
+ version-hash : beb0ea564843
5
7
source : <<< base.js
Original file line number Diff line number Diff line change @@ -2,4 +2,6 @@ namespace: aws-iam
2
2
3
3
common :
4
4
defines : module
5
+ metadata :
6
+ version-hash : beb0ea564843
5
7
source : <<< common.js
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ iam-policy:
3
3
defines : entity
4
4
metadata :
5
5
name : IAMPolicy
6
+ version-hash : beb0ea564843
6
7
schema :
7
8
region :
8
9
type : string
@@ -27,6 +28,28 @@ iam-policy:
27
28
required :
28
29
- region
29
30
- policy_name
31
+ state-schema :
32
+ existing :
33
+ type : boolean
34
+ description : Indicates if the resource pre-existed before this entity managed it
35
+ policy_arn :
36
+ type : string
37
+ description : Policy ARN
38
+ policy_id :
39
+ type : string
40
+ description : Policy ID
41
+ default_version_id :
42
+ type : string
43
+ description : Default version identifier
44
+ attachment_count :
45
+ type : number
46
+ description : Number of attachments to principals
47
+ create_date :
48
+ type : string
49
+ description : Creation timestamp
50
+ update_date :
51
+ type : string
52
+ description : Last update timestamp
30
53
lifecycle :
31
54
sync : <<< iam-policy-sync.js
32
55
requires :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ iam-role:
3
3
defines : entity
4
4
metadata :
5
5
name : IAMRole
6
+ version-hash : beb0ea564843
6
7
schema :
7
8
region :
8
9
type : string
@@ -35,6 +36,19 @@ iam-role:
35
36
required :
36
37
- region
37
38
- role_name
39
+ state-schema :
40
+ existing :
41
+ type : boolean
42
+ description : Whether role pre-existed before this entity managed it
43
+ role_arn :
44
+ type : string
45
+ description : Role ARN
46
+ role_id :
47
+ type : string
48
+ description : Role ID
49
+ create_date :
50
+ type : string
51
+ description : Creation timestamp
38
52
lifecycle :
39
53
sync : <<< iam-role-sync.js
40
54
checks :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ iam-user:
3
3
defines : entity
4
4
metadata :
5
5
name : IAMUser
6
+ version-hash : beb0ea564843
6
7
schema :
7
8
region :
8
9
type : string
@@ -39,6 +40,30 @@ iam-user:
39
40
required :
40
41
- region
41
42
- user_name
43
+ state-schema :
44
+ existing :
45
+ type : boolean
46
+ description : Indicates if the resource pre-existed before this entity managed it
47
+ user_arn :
48
+ type : string
49
+ description : IAM user ARN
50
+ user_id :
51
+ type : string
52
+ description : IAM user ID
53
+ create_date :
54
+ type : string
55
+ description : IAM user creation date
56
+ access_key_id :
57
+ type : string
58
+ description : Access key ID (if created)
59
+ access_keys_created :
60
+ type : boolean
61
+ description : Whether access keys were created by this entity
62
+ attached_policies :
63
+ type : array
64
+ items :
65
+ type : string
66
+ description : List of attached policy ARNs
42
67
lifecycle :
43
68
sync : <<< iam-user-sync.js
44
69
checks :
You can’t perform that action at this time.
0 commit comments