-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e63f4ac
commit cdee658
Showing
26 changed files
with
346 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/mapping/aws/resource/appstream/aws_appstream_directory_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appstream:CreateDirectoryConfig", | ||
"appstream:DeleteDirectoryConfig", | ||
"appstream:DeleteDirectoryConfig", | ||
"appstream:DescribeDirectoryConfigs", | ||
"appstream:UpdateDirectoryConfig", | ||
"iam:CreateServiceLinkedRole", | ||
"iam:DeleteServiceLinkedRole", | ||
"iam:GetServiceLinkedRoleDeletionStatus" | ||
], | ||
"attributes": { | ||
"tags": [ | ||
"appstream:TagResource", | ||
"appstream:UntagResource" | ||
] | ||
}, | ||
"destroy": [ | ||
"appstream:CreateDirectoryConfig", | ||
"appstream:DeleteDirectoryConfig", | ||
"appstream:DescribeDirectoryConfigs", | ||
"appstream:UpdateDirectoryConfig", | ||
"iam:CreateServiceLinkedRole", | ||
"iam:DeleteServiceLinkedRole", | ||
"iam:GetServiceLinkedRoleDeletionStatus" | ||
], | ||
"modify": [ | ||
"appstream:CreateDirectoryConfig", | ||
"appstream:DeleteDirectoryConfig", | ||
"appstream:DescribeDirectoryConfigs", | ||
"appstream:UpdateDirectoryConfig", | ||
"iam:CreateServiceLinkedRole", | ||
"iam:DeleteServiceLinkedRole", | ||
"iam:GetServiceLinkedRoleDeletionStatus" | ||
], | ||
"plan": [ | ||
"appstream:CreateDirectoryConfig", | ||
"appstream:DeleteDirectoryConfig", | ||
"appstream:DescribeDirectoryConfigs", | ||
"appstream:UpdateDirectoryConfig", | ||
"iam:CreateServiceLinkedRole", | ||
"iam:DeleteServiceLinkedRole", | ||
"iam:GetServiceLinkedRoleDeletionStatus" | ||
] | ||
} | ||
] |
20 changes: 20 additions & 0 deletions
20
src/mapping/aws/resource/appstream/aws_appstream_fleet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appstream:DescribeFleets", | ||
"appstream:CreateFleet", | ||
"appstream:DeleteFleet", | ||
"appstream:UpdateFleet", | ||
"appstream:ListTagsForResource" | ||
], | ||
"attributes": { | ||
"tags": [ | ||
"appstream:TagResource", | ||
"appstream:UntagResource" | ||
] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
17 changes: 17 additions & 0 deletions
17
src/mapping/aws/resource/appstream/aws_appstream_fleet_stack_association.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appstream:AssociateFleet", | ||
"appstream:DisassociateFleet" | ||
], | ||
"attributes": { | ||
"tags": [ | ||
"appstream:TagResource", | ||
"appstream:UntagResource" | ||
] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
19 changes: 19 additions & 0 deletions
19
src/mapping/aws/resource/appstream/aws_appstream_stack.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appstream:DescribeStacks", | ||
"appstream:CreateStack", | ||
"appstream:DeleteStack", | ||
"appstream:UpdateStack" | ||
], | ||
"attributes": { | ||
"tags": [ | ||
"appstream:TagResource", | ||
"appstream:UntagResource" | ||
] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
src/mapping/aws/resource/appstream/aws_appstream_user.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appstream:DescribeUsers", | ||
"appstream:CreateUser", | ||
"appstream:DeleteUser" | ||
], | ||
"attributes": { | ||
"tags": [ | ||
"appstream:TagResource", | ||
"appstream:UntagResource" | ||
] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
src/mapping/aws/resource/appstream/aws_appstream_user_stack_association.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appstream:DescribeUserStackAssociations", | ||
"appstream:BatchAssociateUserStack", | ||
"appstream:BatchDisassociateUserStack" | ||
], | ||
"attributes": { | ||
"tags": [ | ||
"appstream:TagResource", | ||
"appstream:UntagResource" | ||
] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
16 changes: 16 additions & 0 deletions
16
src/mapping/aws/resource/appsync/aws_appsync_api_cache.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appsync:GetApiCache", | ||
"appsync:CreateApiCache", | ||
"appsync:DeleteApiCache", | ||
"appsync:UpdateApiCache" | ||
], | ||
"attributes": { | ||
"tags": [] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appsync:CreateApiKey", | ||
"appsync:DeleteApiKey", | ||
"appsync:UpdateApiKey" | ||
], | ||
"attributes": { | ||
"tags": [] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
24 changes: 24 additions & 0 deletions
24
src/mapping/aws/resource/appsync/aws_appsync_datasource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appsync:CreateDataSource", | ||
"appsync:GetDataSource", | ||
"appsync:UpdateDataSource", | ||
"iam:PassRole" | ||
], | ||
"attributes": { | ||
"tags": [] | ||
}, | ||
"destroy": [ | ||
"appsync:DeleteDataSource", | ||
"appsync:GetDataSource" | ||
], | ||
"modify": [ | ||
"appsync:UpdateDataSource", | ||
"iam:PassRole" | ||
], | ||
"plan": [ | ||
"appsync:GetDataSource" | ||
] | ||
} | ||
] |
30 changes: 30 additions & 0 deletions
30
src/mapping/aws/resource/appsync/aws_appsync_source_api_association.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appsync:AssociateSourceGraphqlApi", | ||
"appsync:AssociateMergedGraphqlApi", | ||
"appsync:UpdateSourceApiAssociation", | ||
"appsync:GetSourceApiAssociation", | ||
"appsync:DisassociateSourceGraphqlApi", | ||
"appsync:DisassociateMergedGraphqlApi", | ||
"appsync:ListSourceApiAssociations" | ||
], | ||
"attributes": { | ||
"tags": [] | ||
}, | ||
"destroy": [ | ||
"appsync:GetSourceApiAssociation", | ||
"appsync:DisassociateSourceGraphqlApi", | ||
"appsync:DisassociateMergedGraphqlApi", | ||
"appsync:ListSourceApiAssociations" | ||
], | ||
"modify": [ | ||
"appsync:UpdateSourceApiAssociation", | ||
"appsync:GetSourceApiAssociation" | ||
], | ||
"plan": [ | ||
"appsync:GetSourceApiAssociation", | ||
"appsync:ListSourceApiAssociations" | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"apply": [ | ||
"appsync:GetType", | ||
"appsync:CreateType", | ||
"appsync:DeleteType", | ||
"appsync:UpdateType" | ||
], | ||
"attributes": { | ||
"tags": [] | ||
}, | ||
"destroy": [], | ||
"modify": [], | ||
"plan": [] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resource "aws_appstream_directory_config" "pike" { | ||
directory_name = "NAME OF DIRECTORY" | ||
organizational_unit_distinguished_names = ["DISTINGUISHED NAME"] | ||
|
||
service_account_credentials { | ||
account_name = "NAME OF ACCOUNT" | ||
account_password = "PASSWORD OF ACCOUNT" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resource "aws_appstream_fleet" "pike" { | ||
name = "NAME" | ||
image_name = "Amazon-AppStream2-Sample-Image-03-11-2023" | ||
instance_type = "stream.standard.small" | ||
|
||
compute_capacity { | ||
desired_instances = 1 | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
terraform/aws/backup/aws_appstream_fleet_stack_association.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resource "aws_appstream_fleet_stack_association" "pike" { | ||
fleet_name = aws_appstream_fleet.pike.name | ||
stack_name = aws_appstream_stack.pike.name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resource "aws_appstream_stack" "pike" { | ||
name = "pike" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
resource "aws_appstream_user" "pike" { | ||
authentication_type = "USERPOOL" | ||
user_name = "[email protected]" | ||
first_name = "james" | ||
last_name = "woolfenden" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resource "aws_appstream_user_stack_association" "pike" { | ||
authentication_type = aws_appstream_user.pike.authentication_type | ||
stack_name = aws_appstream_stack.pike.name | ||
user_name = aws_appstream_user.pike.user_name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resource "aws_appsync_api_cache" "pike" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resource "aws_appsync_api_key" "pike" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resource "aws_appsync_datasource" "pike" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resource "aws_appsync_source_api_association" "pike" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resource "aws_appsync_type" "pike" {} |
Oops, something went wrong.