Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
G
gitlab-com-infrastructure
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
19
Merge Requests
19
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
gitlab-com
gitlab-com-infrastructure
Commits
3f173de5
Commit
3f173de5
authored
Jun 14, 2019
by
Craig Barrett
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'amh-greenhouse-bucket' into 'master'
add datateam-greenhouse-extract bucket See merge request
!819
parents
94cd47fc
0b4dfe99
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
environments/aws-account/datateam.tf
environments/aws-account/datateam.tf
+48
-0
No files found.
environments/aws-account/datateam.tf
0 → 100644
View file @
3f173de5
data
"aws_iam_policy_document"
"datateam-greenhouse-extract"
{
statement
{
sid
=
"1"
actions
=
[
"s3:ListBucket"
,
]
principals
=
{
type
=
"AWS"
identifiers
=
[
"arn:aws:iam::855262394183:user/datateam-greenhouse-extract"
]
}
resources
=
[
"
${
aws_s3_bucket
.
datateam-greenhouse-extract
.
arn
}
"
,
]
}
statement
{
sid
=
"2"
actions
=
[
"s3:GetObject"
,
"s3:PutObject"
,
]
principals
=
{
type
=
"AWS"
identifiers
=
[
"arn:aws:iam::855262394183:user/datateam-greenhouse-extract"
]
}
resources
=
[
"
${
aws_s3_bucket
.
datateam-greenhouse-extract
.
arn
}
"
,
"
${
aws_s3_bucket
.
datateam-greenhouse-extract
.
arn
}
/*"
,
]
}
}
resource
"aws_iam_policy"
"datateam-greenhouse-extract"
{
name
=
"datateam-greenhouse-extract"
path
=
"/"
policy
=
"
${data
.
aws_iam_policy_document
.
datateam-greenhouse-extract
.
json
}
"
}
resource
"aws_s3_bucket"
"datateam-greenhouse-extract"
{
bucket
=
"datateam-greenhouse-extract"
acl
=
"private"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment