diff --git a/go.mod b/go.mod index 1ccebcb..81e4320 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 golang.org/x/sys v0.0.0-20200828081204-131dc92a58d5 // indirect - golang.org/x/tools v0.0.0-20200828013309-97019fc2e64b + golang.org/x/tools v0.0.0-20200828013309-97019fc2e64b // indirect google.golang.org/genproto v0.0.0-20200828030656-73b5761be4c5 google.golang.org/grpc v1.31.1 // indirect gopkg.in/Iwark/spreadsheet.v2 v2.0.0-20191122095212-08231195c43b diff --git a/go.sum b/go.sum index 4155a63..33cce6a 100644 --- a/go.sum +++ b/go.sum @@ -154,6 +154,7 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= diff --git a/terraform/development/graph b/terraform/development/graph new file mode 100644 index 0000000..5ba5910 --- /dev/null +++ b/terraform/development/graph @@ -0,0 +1,38 @@ +digraph { + compound = "true" + newrank = "true" + subgraph "root" { + "[root] google_cloud_run_service.kompal-weather-dev" [label = "google_cloud_run_service.kompal-weather-dev", shape = "box"] + "[root] google_cloud_scheduler_job.dev1" [label = "google_cloud_scheduler_job.dev1", shape = "box"] + "[root] google_cloud_scheduler_job.dev2" [label = "google_cloud_scheduler_job.dev2", shape = "box"] + "[root] google_project_iam_member.kompal_weather_invoker_dev_is_run_invoker" [label = "google_project_iam_member.kompal_weather_invoker_dev_is_run_invoker", shape = "box"] + "[root] google_project_iam_member.kompal_weather_is_logging_logwriter" [label = "google_project_iam_member.kompal_weather_is_logging_logwriter", shape = "box"] + "[root] google_project_iam_member.kompal_weather_is_secretmanager_admin" [label = "google_project_iam_member.kompal_weather_is_secretmanager_admin", shape = "box"] + "[root] google_secret_manager_secret.kompal_url" [label = "google_secret_manager_secret.kompal_url", shape = "box"] + "[root] google_secret_manager_secret.twitter_access_token" [label = "google_secret_manager_secret.twitter_access_token", shape = "box"] + "[root] google_secret_manager_secret.twitter_access_token_secret" [label = "google_secret_manager_secret.twitter_access_token_secret", shape = "box"] + "[root] google_secret_manager_secret.twitter_api_key" [label = "google_secret_manager_secret.twitter_api_key", shape = "box"] + "[root] google_secret_manager_secret.twitter_api_key_secret" [label = "google_secret_manager_secret.twitter_api_key_secret", shape = "box"] + "[root] google_secret_manager_secret.web_hook_url" [label = "google_secret_manager_secret.web_hook_url", shape = "box"] + "[root] google_service_account.kompal_weather" [label = "google_service_account.kompal_weather", shape = "box"] + "[root] google_service_account.kompal_weather_invoker" [label = "google_service_account.kompal_weather_invoker", shape = "box"] + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_project_iam_member.kompal_weather_is_logging_logwriter" + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_project_iam_member.kompal_weather_is_secretmanager_admin" + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_secret_manager_secret.kompal_url" + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_secret_manager_secret.twitter_access_token" + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_secret_manager_secret.twitter_access_token_secret" + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_secret_manager_secret.twitter_api_key" + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_secret_manager_secret.twitter_api_key_secret" + "[root] google_cloud_run_service.kompal-weather-dev" -> "[root] google_secret_manager_secret.web_hook_url" + "[root] google_cloud_scheduler_job.dev1" -> "[root] google_cloud_run_service.kompal-weather-dev" + "[root] google_cloud_scheduler_job.dev1" -> "[root] google_project_iam_member.kompal_weather_invoker_dev_is_run_invoker" + "[root] google_cloud_scheduler_job.dev2" -> "[root] google_cloud_run_service.kompal-weather-dev" + "[root] google_cloud_scheduler_job.dev2" -> "[root] google_project_iam_member.kompal_weather_invoker_dev_is_run_invoker" + "[root] google_project_iam_member.kompal_weather_invoker_dev_is_run_invoker" -> "[root] google_service_account.kompal_weather_invoker" + "[root] google_project_iam_member.kompal_weather_is_logging_logwriter" -> "[root] google_service_account.kompal_weather" + "[root] google_project_iam_member.kompal_weather_is_secretmanager_admin" -> "[root] google_service_account.kompal_weather" + "[root] meta.count-boundary (EachMode fixup)" -> "[root] google_cloud_scheduler_job.dev1" + "[root] meta.count-boundary (EachMode fixup)" -> "[root] google_cloud_scheduler_job.dev2" + "[root] root" -> "[root] meta.count-boundary (EachMode fixup)" + } +} diff --git a/terraform/development/kompal-graph.jpg b/terraform/development/kompal-graph.jpg new file mode 100644 index 0000000..0a7c411 Binary files /dev/null and b/terraform/development/kompal-graph.jpg differ