Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e47340d

Browse files
committed
Add iennae to sous and grant Chef-de-Partie access to sc-mysql
1 parent 22c5be4 commit e47340d

File tree

4 files changed

+111
-2
lines changed

4 files changed

+111
-2
lines changed

chef_de_partie.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ resource "github_team_membership" "RyanJarv" {
240240
role = "member"
241241
}
242242

243+
resource "github_team_membership" "iennae" {
244+
team_id = "${github_team.Chef_de_partie.id}"
245+
username = "iennae"
246+
role = "member"
247+
}
248+
243249
# Repositories
244250

245251
resource "github_team_repository" "bsdcpio" {
@@ -331,3 +337,9 @@ resource "github_team_repository" "swap" {
331337
repository = "swap"
332338
permission = "pull"
333339
}
340+
341+
resource "github_team_repository" "sc-mysql" {
342+
team_id = "${github_team.Chef_de_partie.id}"
343+
repository = "sc-mysql"
344+
permission = "pull"
345+
}

members.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,8 @@ resource "github_membership" "RyanJarv" {
142142
username = "RyanJarv"
143143
role = "member"
144144
}
145+
146+
resource "github_membership" "iennae" {
147+
username = "iennae"
148+
role = "member"
149+
}

terraform.tfstate

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 3,
33
"terraform_version": "0.8.7",
4-
"serial": 77,
4+
"serial": 78,
55
"lineage": "856779f9-83c9-4b8d-9009-896a59526928",
66
"modules": [
77
{
@@ -554,6 +554,22 @@
554554
"deposed": [],
555555
"provider": ""
556556
},
557+
"github_membership.iennae": {
558+
"type": "github_membership",
559+
"depends_on": [],
560+
"primary": {
561+
"id": "sous-chefs:iennae",
562+
"attributes": {
563+
"id": "sous-chefs:iennae",
564+
"role": "member",
565+
"username": "iennae"
566+
},
567+
"meta": {},
568+
"tainted": false
569+
},
570+
"deposed": [],
571+
"provider": ""
572+
},
557573
"github_membership.medyagh": {
558574
"type": "github_membership",
559575
"depends_on": [],
@@ -1512,6 +1528,25 @@
15121528
"deposed": [],
15131529
"provider": ""
15141530
},
1531+
"github_team_membership.iennae": {
1532+
"type": "github_team_membership",
1533+
"depends_on": [
1534+
"github_team.Chef_de_partie"
1535+
],
1536+
"primary": {
1537+
"id": "2228794:iennae",
1538+
"attributes": {
1539+
"id": "2228794:iennae",
1540+
"role": "member",
1541+
"team_id": "2228794",
1542+
"username": "iennae"
1543+
},
1544+
"meta": {},
1545+
"tainted": false
1546+
},
1547+
"deposed": [],
1548+
"provider": ""
1549+
},
15151550
"github_team_membership.jamesonjlee": {
15161551
"type": "github_team_membership",
15171552
"depends_on": [
@@ -2139,6 +2174,25 @@
21392174
"deposed": [],
21402175
"provider": ""
21412176
},
2177+
"github_team_membership.sc-mysql-maintainer-3": {
2178+
"type": "github_team_membership",
2179+
"depends_on": [
2180+
"github_team.sc-mysql_team"
2181+
],
2182+
"primary": {
2183+
"id": "2285906:iennae",
2184+
"attributes": {
2185+
"id": "2285906:iennae",
2186+
"role": "maintainer",
2187+
"team_id": "2285906",
2188+
"username": "iennae"
2189+
},
2190+
"meta": {},
2191+
"tainted": false
2192+
},
2193+
"deposed": [],
2194+
"provider": ""
2195+
},
21422196
"github_team_membership.selinuxpolicy-member": {
21432197
"type": "github_team_membership",
21442198
"depends_on": [
@@ -3089,6 +3143,25 @@
30893143
"deposed": [],
30903144
"provider": ""
30913145
},
3146+
"github_team_repository.sc-mysql": {
3147+
"type": "github_team_repository",
3148+
"depends_on": [
3149+
"github_team.Chef_de_partie"
3150+
],
3151+
"primary": {
3152+
"id": "2228794:sc-mysql",
3153+
"attributes": {
3154+
"id": "2228794:sc-mysql",
3155+
"permission": "pull",
3156+
"repository": "sc-mysql",
3157+
"team_id": "2228794"
3158+
},
3159+
"meta": {},
3160+
"tainted": false
3161+
},
3162+
"deposed": [],
3163+
"provider": ""
3164+
},
30923165
"github_team_repository.sc-mysql_repo": {
30933166
"type": "github_team_repository",
30943167
"depends_on": [

terraform.tfstate.backup

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 3,
33
"terraform_version": "0.8.7",
4-
"serial": 76,
4+
"serial": 77,
55
"lineage": "856779f9-83c9-4b8d-9009-896a59526928",
66
"modules": [
77
{
@@ -3089,6 +3089,25 @@
30893089
"deposed": [],
30903090
"provider": ""
30913091
},
3092+
"github_team_repository.sc-mysql_repo": {
3093+
"type": "github_team_repository",
3094+
"depends_on": [
3095+
"github_team.sc-mysql_team"
3096+
],
3097+
"primary": {
3098+
"id": "2285906:sc-mysql",
3099+
"attributes": {
3100+
"id": "2285906:sc-mysql",
3101+
"permission": "admin",
3102+
"repository": "sc-mysql",
3103+
"team_id": "2285906"
3104+
},
3105+
"meta": {},
3106+
"tainted": false
3107+
},
3108+
"deposed": [],
3109+
"provider": ""
3110+
},
30923111
"github_team_repository.smartmontools": {
30933112
"type": "github_team_repository",
30943113
"depends_on": [

0 commit comments

Comments
 (0)