Skip to content

Commit

Permalink
get quicksight going again with a different template dataset (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels authored Sep 22, 2023
1 parent b6b56c7 commit 4273d24
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/merge_to_main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ jobs:
cd env/staging/database-tools
terragrunt apply --terragrunt-non-interactive -auto-approve
# - name: Apply aws/quicksight
# run: |
# cd env/staging/quicksight
# terragrunt apply --terragrunt-non-interactive -auto-approve
- name: Apply aws/quicksight
run: |
cd env/staging/quicksight
terragrunt apply --terragrunt-non-interactive -auto-approve
- name: Apply aws/lambda-google-cidr
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/terragrunt_plan_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,15 @@ jobs:
github-token: "${{ secrets.GITHUB_TOKEN }}"
terragrunt: "true"

# - name: Terragrunt plan quicksight
# if: ${{ steps.filter.outputs.quicksight == 'true' || steps.filter.outputs.common == 'true' }}
# uses: cds-snc/terraform-plan@v3
# with:
# directory: "env/staging/quicksight"
# comment-delete: "true"
# comment-title: "Staging: quicksight"
# github-token: "${{ secrets.GITHUB_TOKEN }}"
# terragrunt: "true"
- name: Terragrunt plan quicksight
if: ${{ steps.filter.outputs.quicksight == 'true' || steps.filter.outputs.common == 'true' }}
uses: cds-snc/terraform-plan@v3
with:
directory: "env/staging/quicksight"
comment-delete: "true"
comment-title: "Staging: quicksight"
github-token: "${{ secrets.GITHUB_TOKEN }}"
terragrunt: "true"

- name: Terragrunt plan lambda-google-cidr
if: ${{ steps.filter.outputs.lambda-google-cidr == 'true' || steps.filter.outputs.common == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion aws/quicksight/dataset_notification_history.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_quicksight_data_set" "notification_history" {
import_mode = "SPICE"

physical_table_map {
physical_table_map_id = "notification_history"
physical_table_map_id = "notification-history"
relational_table {
data_source_arn = aws_quicksight_data_source.rds.arn
name = "notification_history"
Expand Down
2 changes: 1 addition & 1 deletion aws/quicksight/dataset_services_history.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_quicksight_data_set" "services_history" {
import_mode = "SPICE"

physical_table_map {
physical_table_map_id = "services_history"
physical_table_map_id = "services-history"
relational_table {
data_source_arn = aws_quicksight_data_source.rds.arn
name = "services_history"
Expand Down
6 changes: 3 additions & 3 deletions aws/quicksight/dataset_templates.tf
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# valid column types are [STRING INTEGER DECIMAL DATETIME BIT BOOLEAN JSON]

resource "aws_quicksight_data_set" "templates" {
data_set_id = "templates"
name = "Templates"
data_set_id = "templatesv2"
name = "TemplatesV2"
import_mode = "SPICE"

physical_table_map {
physical_table_map_id = "templates"
physical_table_map_id = "templatesv2"
relational_table {
data_source_arn = aws_quicksight_data_source.rds.arn
name = "templates"
Expand Down
2 changes: 1 addition & 1 deletion aws/quicksight/dataset_templates_history.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_quicksight_data_set" "templates_history" {
import_mode = "SPICE"

physical_table_map {
physical_table_map_id = "templates_history"
physical_table_map_id = "templates-history"
relational_table {
data_source_arn = aws_quicksight_data_source.rds.arn
name = "templates_history"
Expand Down

0 comments on commit 4273d24

Please sign in to comment.