-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-work pipeline #30
Merged
Merged
Re-work pipeline #30
Conversation
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
jarrod-lowe
had a problem deploying
to
primary-ro
August 17, 2024 03:26 — with
GitHub Actions
Failure
Quality Gate passedIssues Measures |
Terraform plan in terraform/environment/wildsea With variablesenvironment = "primary"
saml_metadata_url = (sensitive value) Plan: 1 to add, 0 to change, 1 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# module.wildsea.aws_appsync_resolver.resolver["createGame"] will be created
+ resource "aws_appsync_resolver" "resolver" {
+ api_id = "**************************"
+ arn = (known after apply)
+ code = <<-EOT
// mutation/createGame/appsync.ts
import { util } from "@aws-appsync/utils";
function request(context) {
if (!context.identity) {
util.error("Unauthorized: Identity information is missing.");
}
const identity = context.identity;
if (!identity.sub) {
util.error("Unauthorized: User ID is missing.");
}
const input = context.arguments.input;
const id = util.autoId();
const timestamp = util.time.nowISO8601();
return {
operation: "PutItem",
key: util.dynamodb.toMapValues({ PK: "GAME#" + id, SK: "GAME" }),
attributeValues: util.dynamodb.toMapValues({
name: input.name,
description: input.description,
id,
fireflyUserId: identity.sub,
createdAt: timestamp,
updatedAt: timestamp
})
};
}
function response(context) {
if (context.error) {
util.appendError(context.error.message, context.error.type, context.result);
return;
}
return context.result;
}
export {
request,
response
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiYXBwc3luYy50cyJdLAogICJtYXBwaW5ncyI6ICI7QUFBQSxTQUFTLFlBQStGO0FBY2pHLFNBQVMsUUFBUSxTQUFzRTtBQUMxRixNQUFJLENBQUMsUUFBUSxVQUFVO0FBQ25CLFNBQUssTUFBTSxnREFBMEQ7QUFBQSxFQUN6RTtBQUVBLFFBQU0sV0FBVyxRQUFRO0FBQ3pCLE1BQUksQ0FBQyxTQUFTLEtBQUs7QUFDZixTQUFLLE1BQU0sbUNBQTZDO0FBQUEsRUFDNUQ7QUFFQSxRQUFNLFFBQVEsUUFBUSxVQUFVO0FBQ2hDLFFBQU0sS0FBSyxLQUFLLE9BQU87QUFDdkIsUUFBTSxZQUFZLEtBQUssS0FBSyxXQUFXO0FBQ3ZDLFNBQU87QUFBQSxJQUNILFdBQVc7QUFBQSxJQUNYLEtBQUssS0FBSyxTQUFTLFlBQVksRUFBRSxJQUFJLFVBQVEsSUFBSSxJQUFJLE9BQU8sQ0FBQztBQUFBLElBQzdELGlCQUFpQixLQUFLLFNBQVMsWUFBWTtBQUFBLE1BQ3ZDLE1BQU0sTUFBTTtBQUFBLE1BQ1osYUFBYSxNQUFNO0FBQUEsTUFDbkI7QUFBQSxNQUNBLGVBQWUsU0FBUztBQUFBLE1BQ3hCLFdBQVc7QUFBQSxNQUNYLFdBQVc7QUFBQSxJQUNmLENBQUM7QUFBQSxFQUNMO0FBQ0o7QUFFTyxTQUFTLFNBQVMsU0FBMkI7QUFDaEQsTUFBSSxRQUFRLE9BQU87QUFDZixTQUFLLFlBQVksUUFBUSxNQUFNLFNBQVMsUUFBUSxNQUFNLE1BQU0sUUFBUSxNQUFNO0FBQzFFO0FBQUEsRUFDSjtBQUNBLFNBQU8sUUFBUTtBQUNuQjsiLAogICJuYW1lcyI6IFtdCn0K
EOT
+ data_source = "Wildsea_primary"
+ field = "createGame"
+ id = (known after apply)
+ kind = "UNIT"
+ type = "Mutation"
+ runtime {
+ name = "APPSYNC_JS"
+ runtime_version = "1.0.0"
}
}
# module.wildsea.null_resource.graphql_compile["createGame"] will be destroyed
# (because null_resource.graphql_compile is not in configuration)
- resource "null_resource" "graphql_compile" {
- id = "205002815431302778" -> null
- triggers = {
- "dest_file" = "../../../graphql/mutation/createGame/appsync.js"
- "source_change" = "daf5c630b4ed20ccca828ac8700014db19c23b99b4175e0bfac2e04d72dd9222"
} -> null
}
Plan: 1 to add, 0 to change, 1 to destroy. ✅ Plan applied in Environment Main - Apply #26 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.