@@ -12,15 +12,15 @@ import (
1212 "github.com/hashicorp/terraform/internal/lang/langrefs"
1313)
1414
15- type ActionPlanTransformer struct {
15+ type ActionTriggerConfigTransformer struct {
1616 Config * configs.Config
1717 Targets []addrs.Targetable
1818 Operation walkOperation
1919
2020 queryPlanMode bool
2121}
2222
23- func (t * ActionPlanTransformer ) Transform (g * Graph ) error {
23+ func (t * ActionTriggerConfigTransformer ) Transform (g * Graph ) error {
2424 if t .Operation != walkPlan || t .queryPlanMode {
2525 return nil
2626 }
@@ -62,7 +62,7 @@ func (t *ActionPlanTransformer) Transform(g *Graph) error {
6262 return t .transform (g , t .Config )
6363}
6464
65- func (t * ActionPlanTransformer ) transform (g * Graph , config * configs.Config ) error {
65+ func (t * ActionTriggerConfigTransformer ) transform (g * Graph , config * configs.Config ) error {
6666 // Add our resources
6767 if err := t .transformSingle (g , config ); err != nil {
6868 return err
@@ -78,7 +78,7 @@ func (t *ActionPlanTransformer) transform(g *Graph, config *configs.Config) erro
7878 return nil
7979}
8080
81- func (t * ActionPlanTransformer ) transformSingle (g * Graph , config * configs.Config ) error {
81+ func (t * ActionTriggerConfigTransformer ) transformSingle (g * Graph , config * configs.Config ) error {
8282 actionConfigs := addrs .MakeMap [addrs.ConfigAction , * configs.Action ]()
8383 for _ , a := range config .Module .Actions {
8484 actionConfigs .Put (a .Addr ().InModule (config .Path ), a )
0 commit comments