Skip to content

Commit

Permalink
Add Prod Amplify Env
Browse files Browse the repository at this point in the history
  • Loading branch information
Peyton-McKee committed Mar 11, 2024
1 parent d82b300 commit 700e032
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 65 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
amplify-codegen-temp/models/models
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ amplify-gradle-config.json
amplifytools.xcconfig
.secret-*
**.sample
#amplify-do-not-edit-end
#amplify-do-not-edit-end
12 changes: 12 additions & 0 deletions .graphqlconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
projects:
skiblazer:
schemaPath: graphql/schema.json
includes:
- graphql/**/*.graphql
excludes:
- ./amplify/**
extensions:
amplify:
codeGenTarget: swift
generatedFileName: API.swift
docsFilePath: graphql
12 changes: 11 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
{}
{
"files.exclude": {
"amplify/.config": true,
"amplify/**/*-parameters.json": true,
"amplify/**/amplify.state": true,
"amplify/**/transform.conf.json": true,
"amplify/#current-cloud-backend": true,
"amplify/backend/amplify-meta.json": true,
"amplify/backend/awscloudformation": true
}
}
8 changes: 4 additions & 4 deletions amplify/.config/project-config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"projectName": "Skiblazer",
"version": "3.1",
"frontend": "ios",
"providers": [
"awscloudformation"
]
],
"projectName": "Skiblazer",
"version": "3.1",
"frontend": "ios"
}
8 changes: 0 additions & 8 deletions amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@
}
},
"parameters": {
"AMPLIFY_function_skiblazer6dd7c5e3PostConfirmation_GROUP": {
"usedBy": [
{
"category": "function",
"resourceName": "skiblazer6dd7c5e3PostConfirmation"
}
]
},
"AMPLIFY_function_skiblazer6dd7c5e3PostConfirmation_deploymentBucketName": {
"usedBy": [
{
Expand Down
32 changes: 30 additions & 2 deletions amplify/team-provider-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,44 @@
"AmplifyAppId": "d2shp8bwifgbia"
},
"categories": {
"auth": {
"skiblazeraf3854a2": {},
"userPoolGroups": {}
},
"function": {
"skiblazer6dd7c5e3PostConfirmation": {
"GROUP": "skiblazerPool",
"deploymentBucketName": "amplify-skiblazer-dev-162303-deployment",
"s3Key": "amplify-builds/skiblazer6dd7c5e3PostConfirmation-344d4162455a66454e46-build.zip"
}
},
"storage": {
"skiblazerStorage": {}
}
}
},
"prod": {
"awscloudformation": {
"AuthRoleName": "amplify-skiblazer-prod-181035-authRole",
"UnauthRoleArn": "arn:aws:iam::145396720895:role/amplify-skiblazer-prod-181035-unauthRole",
"AuthRoleArn": "arn:aws:iam::145396720895:role/amplify-skiblazer-prod-181035-authRole",
"Region": "us-east-1",
"DeploymentBucketName": "amplify-skiblazer-prod-181035-deployment",
"UnauthRoleName": "amplify-skiblazer-prod-181035-unauthRole",
"StackName": "amplify-skiblazer-prod-181035",
"StackId": "arn:aws:cloudformation:us-east-1:145396720895:stack/amplify-skiblazer-prod-181035/2fe2efc0-dff4-11ee-a392-0e37aac051c5",
"AmplifyAppId": "d2shp8bwifgbia"
},
"categories": {
"auth": {
"skiblazeraf3854a2": {},
"userPoolGroups": {}
"userPoolGroups": {},
"skiblazer6dd7c5e3": {}
},
"function": {
"skiblazer6dd7c5e3PostConfirmation": {
"deploymentBucketName": "amplify-skiblazer-prod-181035-deployment",
"s3Key": "amplify-builds/skiblazer6dd7c5e3PostConfirmation-344d4162455a66454e46-build.zip"
}
},
"api": {
"skiblazer": {}
Expand Down
98 changes: 49 additions & 49 deletions graphql/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3833,6 +3833,43 @@
"onOperation" : false,
"onFragment" : false,
"onField" : true
}, {
"name" : "aws_api_key",
"description" : "Tells the service this field/object has access authorized by an API key.",
"locations" : [ "OBJECT", "FIELD_DEFINITION" ],
"args" : [ ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_iam",
"description" : "Tells the service this field/object has access authorized by sigv4 signing.",
"locations" : [ "OBJECT", "FIELD_DEFINITION" ],
"args" : [ ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_publish",
"description" : "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.",
"locations" : [ "FIELD_DEFINITION" ],
"args" : [ {
"name" : "subscriptions",
"description" : "List of subscriptions which will be published to when this mutation is called.",
"type" : {
"kind" : "LIST",
"name" : null,
"ofType" : {
"kind" : "SCALAR",
"name" : "String",
"ofType" : null
}
},
"defaultValue" : null
} ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_cognito_user_pools",
"description" : "Tells the service this field/object has access authorized by a Cognito User Pools token.",
Expand All @@ -3854,6 +3891,14 @@
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_oidc",
"description" : "Tells the service this field/object has access authorized by an OIDC token.",
"locations" : [ "OBJECT", "FIELD_DEFINITION" ],
"args" : [ ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_lambda",
"description" : "Tells the service this field/object has access authorized by a Lambda Authorizer.",
Expand All @@ -3879,27 +3924,6 @@
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_subscribe",
"description" : "Tells the service which mutation triggers this subscription.",
"locations" : [ "FIELD_DEFINITION" ],
"args" : [ {
"name" : "mutations",
"description" : "List of mutations which will trigger this subscription when they are called.",
"type" : {
"kind" : "LIST",
"name" : null,
"ofType" : {
"kind" : "SCALAR",
"name" : "String",
"ofType" : null
}
},
"defaultValue" : null
} ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_auth",
"description" : "Directs the schema to enforce authorization on a field",
Expand All @@ -3922,12 +3946,12 @@
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_publish",
"description" : "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.",
"name" : "aws_subscribe",
"description" : "Tells the service which mutation triggers this subscription.",
"locations" : [ "FIELD_DEFINITION" ],
"args" : [ {
"name" : "subscriptions",
"description" : "List of subscriptions which will be published to when this mutation is called.",
"name" : "mutations",
"description" : "List of mutations which will trigger this subscription when they are called.",
"type" : {
"kind" : "LIST",
"name" : null,
Expand All @@ -3942,30 +3966,6 @@
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_api_key",
"description" : "Tells the service this field/object has access authorized by an API key.",
"locations" : [ "OBJECT", "FIELD_DEFINITION" ],
"args" : [ ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_oidc",
"description" : "Tells the service this field/object has access authorized by an OIDC token.",
"locations" : [ "OBJECT", "FIELD_DEFINITION" ],
"args" : [ ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
}, {
"name" : "aws_iam",
"description" : "Tells the service this field/object has access authorized by sigv4 signing.",
"locations" : [ "OBJECT", "FIELD_DEFINITION" ],
"args" : [ ],
"onOperation" : false,
"onFragment" : false,
"onField" : false
} ]
}
}
Expand Down

0 comments on commit 700e032

Please sign in to comment.